[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200507.130449.2112285936469831023.davem@davemloft.net>
Date: Thu, 07 May 2020 13:04:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanaijie@...wei.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: encx24j600: make encx24j600_hw_init()
return void
From: Jason Yan <yanaijie@...wei.com>
Date: Thu, 7 May 2020 19:09:05 +0800
> This function always return 0 now, we can make it return void to
> simplify the code. This fixes the following coccicheck warning:
>
> drivers/net/ethernet/microchip/encx24j600.c:609:5-8: Unneeded variable:
> "ret". Return "0" on line 653
>
> Signed-off-by: Jason Yan <yanaijie@...wei.com>
Applied.
Powered by blists - more mailing lists