[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151118.152209.326518985754435984.davem@davemloft.net>
Date: Wed, 18 Nov 2015 15:22:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ivecera@...hat.com
Cc: netdev@...r.kernel.org, sriharsha.basavapatna@...gotech.com,
sathya.perla@...gotech.com, ajit.khaparde@...gotech.com,
padmanabh.ratnakar@...gotech.com
Subject: Re: [PATCH net-next] be2net: remove local variable 'status'
From: Ivan Vecera <ivecera@...hat.com>
Date: Wed, 18 Nov 2015 14:06:34 +0100
> The lancer_cmd_get_file_len() uses lancer_cmd_read_object() to get
> the current size of registers for ethtool registers dump. Returned status
> value is stored but not checked. The check itself is not necessary as
> the data_read output variable is initialized to 0 and status variable
> can be removed.
>
> Signed-off-by: Ivan Vecera <ivecera@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists