]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 16 Sep 2019 13:06:57 +0000 (15:06 +0200)
commit9723d9310ec2a1197ed4578ef855e59b3b5e4699
tree29ad9382362288e543445df549a34ed39c95ef75
parenta20ef5d2b7777e7172cd4401aeb8a290e2af610b
rtw88: pci: remove set but not used variable 'ip_sel'

BugLink: https://bugs.launchpad.net/bugs/1838133
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>
(cherry picked from commit d1b68c1182380e50cad4b7bd76ee68f64951a64b linux-next)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/wireless/realtek/rtw88/pci.c