[PATCH 0/7] [media] Mantis: Adjustments for three function implementations

From: SF Markus Elfring
Date: Sat Sep 02 2017 - 16:40:23 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 2 Sep 2017 22:18:22 +0200

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (7):
Delete an error message for a failed memory allocation in hopper_pci_probe()
Improve a size determination in hopper_pci_probe()
Adjust a null pointer check in two functions
Delete an unnecessary variable initialisation in hopper_pci_probe()
Delete an error message for a failed memory allocation in mantis_pci_probe()
Improve a size determination in mantis_pci_probe()
Delete an unnecessary variable initialisation in mantis_pci_probe()

drivers/media/pci/mantis/hopper_cards.c | 9 ++++-----
drivers/media/pci/mantis/mantis_cards.c | 8 +++-----
2 files changed, 7 insertions(+), 10 deletions(-)

--
2.14.1