rtw88: pci: remove set but not used variable 'ip_sel'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 26 Jul 2019 14:20:18 +0000 (22:20 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:38:13 +0000 (15:38 +0300)
commitd1b68c1182380e50cad4b7bd76ee68f64951a64b
treef7d00ade701ebf31ab7ec5a7c7851782f015f617
parentde019a3bdd6e68552e061f8c66b7cf7a18109c54
rtw88: pci: remove set but not used variable 'ip_sel'

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

drivers/net/wireless/realtek/rtw88/pci.c: In function 'rtw_pci_phy_cfg':
drivers/net/wireless/realtek/rtw88/pci.c:993:6: warning:
 variable 'ip_sel' set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/pci.c