[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5310B8A7.3040305@mev.co.uk>
Date: Fri, 28 Feb 2014 16:26:15 +0000
From: Ian Abbott <abbotti@....co.uk>
To: Chase Southwood <chase.southwood@...oo.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: Ian Abbott <ian.abbott@....co.uk>,
"hsweeten@...ionengravers.com" <hsweeten@...ionengravers.com>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Staging: comedi: addi-data: remove unnecessary variable
initializations in hwdrv_apci035.c
On 2014-02-28 07:30, Chase Southwood wrote:
> Nearly every variable in hwdrv_apci035.c is initialized to 0 when it is
> declared, and then set to some other value before ever being used. As
> such, we can remove all of these initializations. They are accomplishing
> nothing.
>
> Signed-off-by: Chase Southwood <chase.southwood@...oo.com>
> ---
> .../comedi/drivers/addi-data/hwdrv_apci035.c | 26 +++++++++++-----------
> 1 file changed, 13 insertions(+), 13 deletions(-)
Reviewed-by: Ian Abbott <abbotti@....co.uk>
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@....co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists