diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-05-07 19:09:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-07 13:04:21 -0700 |
commit | 7f960633a458136d168f2049508d39cba8be55bd (patch) | |
tree | e4a567517569d0b81f333382cce201d34b0d7c9d /kernel/acct.c | |
parent | 5a7c45097c3f63ac10def7206292b88023205a3e (diff) | |
download | linux-7f960633a458136d168f2049508d39cba8be55bd.tar.bz2 |
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>
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions