diff options
author | Larry Finger | 2017-02-07 16:14:21 +0100 |
---|---|---|
committer | Kalle Valo | 2017-02-08 16:24:42 +0100 |
commit | d5efe1535af07223b3ba81823a595be04f96969c (patch) | |
tree | f4b71d5383575ea6e01e4eac6dab7ccfa543244e /drivers/net/wireless/realtek/rtlwifi/usb.h | |
parent | brcmfmac: merge two remaining brcmf_err macros (diff) | |
download | kernel-qcow2-linux-d5efe1535af07223b3ba81823a595be04f96969c.tar.gz kernel-qcow2-linux-d5efe1535af07223b3ba81823a595be04f96969c.tar.xz kernel-qcow2-linux-d5efe1535af07223b3ba81823a595be04f96969c.zip |
rtlwifi: Move items out of rtl_pci_priv and rtl_usb_priv
In commit 6773386f977c ("rtlwifi: rtl8192c-common: Fix "BUG: KASAN:"),
a BUG detected when CONFIG_KASAN=y was fixed by reordering the layouts
of struct rtl_pci_priv, and struct rtl_usb_priv so that the variables
used by both PCI and USB drivers have the same offsets in both structs.
The better fix of relocating the critical variables into struct rtl_priv
was deferred as these changes do not have to be applied to stable
kernels.
This change also removes CamelCase variables with pLed0 => pled0.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/usb.h')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/usb.h b/drivers/net/wireless/realtek/rtlwifi/usb.h index cdb9e06db89e..c91cec04bfaf 100644 --- a/drivers/net/wireless/realtek/rtlwifi/usb.h +++ b/drivers/net/wireless/realtek/rtlwifi/usb.h @@ -147,7 +147,6 @@ struct rtl_usb { struct rtl_usb_priv { struct bt_coexist_info bt_coexist; - struct rtl_led_ctl ledctl; struct rtl_usb dev; }; |