From: SF Markus Elfring Date: Sat, 02 Sep 2017 20:40:06 +0000 Subject: [PATCH 0/7] [media] Mantis: Adjustments for three function implementations Message-Id: <9ba22d42-0ec0-b865-dec5-4ce67ad443fb@users.sourceforge.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-media@vger.kernel.org, Mauro Carvalho Chehab Cc: LKML , kernel-janitors@vger.kernel.org From: Markus Elfring 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