]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: remove unused variable 'efx_default_channel_type'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 19 Feb 2020 01:34:58 +0000 (09:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Feb 2020 00:26:02 +0000 (16:26 -0800)
commit1851a3aa46407d434070d5f9aa90c17a8c9cd6d0
treeadfaa2e900661a106901e291be43941fbda04d3e
parent94ed756beaf76d9694f08bcb92b6604b899f4903
sfc: remove unused variable 'efx_default_channel_type'

drivers/net/ethernet/sfc/efx.c:116:38: warning:
 efx_default_channel_type defined but not used [-Wunused-const-variable=]

commit 2c04cc72d437 ("sfc: move channel alloc/removal code")
left behind this, remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 2c04cc72d437 ("sfc: move channel alloc/removal code")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx.c