net: realtek: Remove set but not used variable
authorZheng Yongjun <zhengyongjun3@huawei.com>
Mon, 21 Sep 2020 13:32:09 +0000 (21:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2020 20:20:29 +0000 (13:20 -0700)
commit35c52c5c88d8496502b71b02c6754ced9e5cc882
tree8d37c284ee9a7f0d38ce177872bb290909abd3e5
parentb1b6c110511db61b6fa6945b73b3f5fb4ff29f0b
net: realtek: Remove set but not used variable

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/realtek/8139cp.c: In function cp_tx_timeout:
drivers/net/ethernet/realtek/8139cp.c:1242:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]

`rc` is never used, so remove it.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139cp.c