[PATCH 0/9] [media] TM6000: Adjustments for some function implementations
From: SF Markus Elfring
Date: Fri Sep 15 2017 - 03:47:46 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Sep 2017 08:24:56 +0200
Some update suggestions were taken into account
from static source code analysis.
Markus Elfring (9):
Delete seven error messages for a failed memory allocation
Adjust seven checks for null pointers
Use common error handling code in tm6000_usb_probe()
One function call less in tm6000_usb_probe() after error detection
Delete an unnecessary variable initialisation in tm6000_usb_probe()
Use common error handling code in tm6000_cards_setup()
Improve a size determination in dvb_init()
Use common error handling code in tm6000_start_stream()
Use common error handling code in tm6000_prepare_isoc()
drivers/media/usb/tm6000/tm6000-cards.c | 36 ++++++++++++++++-----------------
drivers/media/usb/tm6000/tm6000-dvb.c | 24 +++++++++++-----------
drivers/media/usb/tm6000/tm6000-input.c | 2 +-
drivers/media/usb/tm6000/tm6000-video.c | 30 +++++++++++----------------
4 files changed, 42 insertions(+), 50 deletions(-)
--
2.14.1