From: SF Markus Elfring Date: Thu, 14 Sep 2017 10:30:30 +0000 Subject: [PATCH 0/8] [media] ttusb_dec: Fine-tuning for some function implementations Message-Id: <66b087d3-6dd3-1e1c-d33d-e34c9e2ffe25@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, Arvind Yadav , Hans Verkuil , Laurent Pinchart , Mauro Carvalho Chehab , Sakari Ailus Cc: LKML , kernel-janitors@vger.kernel.org From: Markus Elfring 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