[PATCH 0/8] [media] ttusb_dec: Fine-tuning for some function implementations

From: SF Markus Elfring
Date: Thu Sep 14 2017 - 06:31:02 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Sep 2017 12:26:24 +0200

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

Markus Elfring (8):
Use common error handling code in ttusb_dec_init_dvb()
Adjust five checks for null pointers
Improve a size determination in three functions
Delete an error message for a failed memory allocation in ttusb_dec_probe()
Move an assignment in ttusb_dec_probe()
Reduce the scope for three variables in ttusb_dec_process_urb()
Add spaces for better code readability
Delete four unwanted spaces

drivers/media/usb/ttusb-dec/ttusb_dec.c | 175 ++++++++++++++------------------
1 file changed, 79 insertions(+), 96 deletions(-)

--
2.14.1