diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-07-17 13:33:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-18 04:43:40 +0300 |
commit | eacc43d2c3b87e1cdffa005b4abd1562c5c8f8a3 (patch) | |
tree | 2562b1ab16f8203ca6982d65f3ef46505d026762 /.gitignore | |
parent | 5686b10978c580f374b09c9092c073dad83a1b23 (diff) | |
download | linux-eacc43d2c3b87e1cdffa005b4abd1562c5c8f8a3.tar.xz |
net: ethernet: et131x: Remove unused variable 'pm_csr'
Gcc report warning as follows:
drivers/net/ethernet/agere/et131x.c:953:6: warning:
variable 'pm_csr' set but not used [-Wunused-but-set-variable]
953 | u32 pm_csr;
| ^~~~~~
drivers/net/ethernet/agere/et131x.c:1002:6:warning:
variable 'pm_csr' set but not used [-Wunused-but-set-variable]
1002 | u32 pm_csr;
| ^~~~~~
drivers/net/ethernet/agere/et131x.c:3446:8: warning:
variable 'pm_csr' set but not used [-Wunused-but-set-variable]
3446 | u32 pm_csr;
| ^~~~~~
After commit 38df6492eb51 ("et131x: Add PCIe gigabit ethernet driver
et131x to drivers/net"), 'pm_csr' is never used in these functions,
so removing it to avoid build warning.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Acked-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions