commit | 7f960633a458136d168f2049508d39cba8be55bd | [log] [tgz] |
---|---|---|
author | Jason Yan <yanaijie@huawei.com> | Thu May 07 19:09:05 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu May 07 13:04:21 2020 -0700 |
tree | e4a567517569d0b81f333382cce201d34b0d7c9d | |
parent | 5a7c45097c3f63ac10def7206292b88023205a3e [diff] |
net: encx24j600: make encx24j600_hw_init() return void 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@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>