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 /tools/perf/scripts/python | |
| parent | net: mlx4: remove unneeded variable "err" in mlx4_en_ethtool_add_mac_rule() (diff) | |
| download | linux-7f960633a458136d168f2049508d39cba8be55bd.tar.gz linux-7f960633a458136d168f2049508d39cba8be55bd.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
