Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752831AbaB1Q0W (ORCPT ); Fri, 28 Feb 2014 11:26:22 -0500 Received: from mail.mev.co.uk ([62.49.15.74]:33344 "EHLO mail.mev.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbaB1Q0U (ORCPT ); Fri, 28 Feb 2014 11:26:20 -0500 Message-ID: <5310B8A7.3040305@mev.co.uk> Date: Fri, 28 Feb 2014 16:26:15 +0000 From: Ian Abbott User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Chase Southwood , "gregkh@linuxfoundation.org" CC: Ian Abbott , "hsweeten@visionengravers.com" , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] Staging: comedi: addi-data: remove unnecessary variable initializations in hwdrv_apci035.c References: <1393572645-9470-1-git-send-email-chase.southwood@yahoo.com> In-Reply-To: <1393572645-9470-1-git-send-email-chase.southwood@yahoo.com> Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > .../comedi/drivers/addi-data/hwdrv_apci035.c | 26 +++++++++++----------- > 1 file changed, 13 insertions(+), 13 deletions(-) Reviewed-by: Ian Abbott -- -=( Ian Abbott @ MEV Ltd. E-mail: )=- -=( 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/