[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151104.205933.1566095146723535499.davem@davemloft.net>
Date: Wed, 04 Nov 2015 20:59:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sergei.shtylyov@...entembedded.com
Cc: netdev@...r.kernel.org, linux-sh@...r.kernel.org
Subject: Re: [PATCH] sh_eth: kill 'ret' variable in sh_eth_ring_init()
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Date: Wed, 04 Nov 2015 00:17:08 +0300
> The 'ret' local variable in sh_eth_ring_init() serves no useful purpose as
> the only values it gets assigned are 0 and -ENOMEM both of which could be
> returned directly...
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.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