cirrus: cs89x0: remove set but not used variable 'lp'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 26 Aug 2019 02:49:15 +0000 (02:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Aug 2019 02:48:59 +0000 (19:48 -0700)
commit0846e1616f0f3365cea732e82e2383932fe644e5
treefb6676c93d99c1e5b18da1f8993aabc43da1143a
parent2889456498c635f4e8262a8401b2eddc263953c7
cirrus: cs89x0: remove set but not used variable 'lp'

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

drivers/net/ethernet/cirrus/cs89x0.c: In function 'cs89x0_platform_probe':
drivers/net/ethernet/cirrus/cs89x0.c:1847:20: warning:
 variable 'lp' set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 6751edeb8700 ("cirrus: cs89x0: Use managed interfaces")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cirrus/cs89x0.c