ocelot: remove unused variable 'rc' in vcap_cmd()
authorMao Wenan <maowenan@huawei.com>
Sun, 9 Jun 2019 07:11:26 +0000 (15:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 03:11:53 +0000 (20:11 -0700)
commitad3a9ee0b623da60b6a3b77573b448ca10d40117
tree3853945588d857e3c312b987bdb974cb0ba0f578
parentc67b85558ff20cb1ff20874461d12af456bee5d0
ocelot: remove unused variable 'rc' in vcap_cmd()

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

drivers/net/ethernet/mscc/ocelot_ace.c: In function ‘vcap_cmd’:
drivers/net/ethernet/mscc/ocelot_ace.c:108:6: warning: variable ‘rc’ set
but not used [-Wunused-but-set-variable]
  int rc;
      ^
It's never used since introduction in commit b596229448dd ("net: mscc:
ocelot: Add support for tcam")

Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_ace.c