Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968139AbdIZL00 (ORCPT ); Tue, 26 Sep 2017 07:26:26 -0400 Received: from mout.web.de ([212.227.17.12]:62215 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935241AbdIZL0Y (ORCPT ); Tue, 26 Sep 2017 07:26:24 -0400 To: linux-media@vger.kernel.org, Mauro Carvalho Chehab , Max Kellermann Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/6] [media] TDA8261: Fine-tuning for five function implementations Message-ID: <15d74bee-7467-4687-24e1-3501c22f6d75@users.sourceforge.net> Date: Tue, 26 Sep 2017 13:26:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:5nIZBXLvueXrJAIjyegS39UTvdUFwMGD4R586T9LX4hwTh3QYaN T0w9Qjt5nlQ1eFKHq+bRPUJ66foM8jvCtNnpAB70A6GFuOuKLVf4L4KzlkMVCQIYKeLlhGB Lz0HSX3t9cWi6NvnE++Egh+Q+VFm+imYPIX29OUOyJLeu/yGXKEggBpqwkyl3MiWUHHgEcE kWfxlLkQu/y7OMydlrtVQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:MuZR7ID2R7w=:aFZE1rUbYCv9H+dwY8Q8Z7 SDZrY2hv7LK1MJXBIoZ0h47ZlSGkeJdocwUiPFBmqTukgja096iM+2FsMPOR016FCpekbSL32 zh7voeQg0cydWZ2TS6KodZFvm9s9iNSsF56BPMEIfiKwdHh2/zPKdQqfWD3+IhjRxRR3X+3gV EtxhKT2CPz+t6He00RzjcJ0QFlEYzRNmgVcz4FKGcmxoOYoNK2mNRHAMZhAlGWbPmYKMl0bG3 PSC0a3YSk5iIUkWLcw+/VO/sEzWuhJXp0DcBgOyiydlC6aAGLW5ICY32lrxGLJWUghuj37lIm YruyK9w87gfkX2NcrBU0kGZCItPIkkQZJ0Lk6A3z14hPYiTQp98t8Z1JG0GUiPopukZYXK+z4 paTrmGEB1Ic1KBFmF0GpDTSmeZBwD/Pa7ttOWIZgn5MHns0RCmxBONQquqG35CddtR1+0hbA7 iysO2pt8tJW5CsjZYmfdP6Ib2AnD4y7Rhyuvy+sQ/ZVP3pdo1WbfB+0xluJRl47a1RKTYzf0m d8ENUC8wwzXgxsl5DTp3qjc50PcHddxFxONkqDhsKOQWZpE0uAots3kE+PlQjUJFh6gXi3K1n qfV+8TLR4OJ3XWZmdXAs5sTglJ5Ha7OcG5IN0QTAAgHyDrYBt7i89hdZCnCb0439RWlOLhwJf ncafXX4qQdSm/28B71XvVsrSzxjTCu7EHdPPAkUcfSnbq5PFgdDq22ij7lsjmxPY1jCXGk3Pl MCe7xbTDEx3BiTUwDiBhbrcjH5xfhqCGjpc7H9pQrTi79VuaIDFd034nvp2ejv4Pi4J4qRSNi aSVXu1JTltNfSiBrJXcnlMh4V5X+43UhW+8QZ7XRfxPhqeg+Dc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 712 Lines: 19 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