From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Tue, 26 Sep 2017 11:26:06 +0000 Subject: [PATCH 0/6] [media] TDA8261: Fine-tuning for five function implementations Message-Id: <15d74bee-7467-4687-24e1-3501c22f6d75@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 , Max Kellermann Cc: LKML , kernel-janitors@vger.kernel.org From: Markus Elfring Date: Tue, 26 Sep 2017 13:20:12 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (6): Use common error handling code in tda8261_set_params() Improve a size determination in tda8261_attach() Return directly after a failed kzalloc() in tda8261_attach() Delete an unnecessary variable initialisation in tda8261_attach() Adjust three function calls together with a variable assignment Delete an unnecessary variable initialisation in three functions drivers/media/dvb-frontends/tda8261.c | 47 +++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 22 deletions(-) -- 2.14.1