qed: Remove set but not used variable 'p_link'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 4 Feb 2020 02:24:41 +0000 (02:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Feb 2020 08:33:36 +0000 (09:33 +0100)
commit83b43045308ea0600099830292955f18818f8d5e
tree7a964509c263dd833725b6855218fce6157eec57
parent9afe2322cb90a8fbc27e32bfc691100c653cab2a
qed: Remove set but not used variable 'p_link'

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

drivers/net/ethernet/qlogic/qed/qed_cxt.c: In function 'qed_qm_init_pf':
drivers/net/ethernet/qlogic/qed/qed_cxt.c:1401:29: warning:
 variable 'p_link' set but not used [-Wunused-but-set-variable]

commit 92fae6fb231f ("qed: FW 8.42.2.0 Queue Manager changes")
leave behind this unused variable.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_cxt.c