diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-03-01 18:15:43 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-03-01 18:15:51 +0100 |
commit | 66bdf62a2ad2a6c2d339a6949b647301994e629d (patch) | |
tree | abdb8064093bb1effb2128d1d90fdf7caf0181e8 /package/kernel/mac80211/patches/312-v4.16-0009-brcmfmac-Remove-unused-macro.patch | |
parent | bb04b7ced7047c93e907134ede6b74b0cf438aa0 (diff) | |
download | upstream-66bdf62a2ad2a6c2d339a6949b647301994e629d.tar.gz upstream-66bdf62a2ad2a6c2d339a6949b647301994e629d.tar.bz2 upstream-66bdf62a2ad2a6c2d339a6949b647301994e629d.zip |
mac80211: brcmfmac: restructuring sdio access functions - take 2
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/kernel/mac80211/patches/312-v4.16-0009-brcmfmac-Remove-unused-macro.patch')
-rw-r--r-- | package/kernel/mac80211/patches/312-v4.16-0009-brcmfmac-Remove-unused-macro.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/312-v4.16-0009-brcmfmac-Remove-unused-macro.patch b/package/kernel/mac80211/patches/312-v4.16-0009-brcmfmac-Remove-unused-macro.patch new file mode 100644 index 0000000000..df72a70b3b --- /dev/null +++ b/package/kernel/mac80211/patches/312-v4.16-0009-brcmfmac-Remove-unused-macro.patch @@ -0,0 +1,26 @@ +From 5cfe38f1f8d3c6b98e15b8cfde05028a3c79930b Mon Sep 17 00:00:00 2001 +From: Ian Molton <ian@mnementh.co.uk> +Date: Fri, 8 Dec 2017 13:10:34 +0100 +Subject: [PATCH] brcmfmac: Remove unused macro. + +This macro is used exactly nowhere in the code. Delete it. + +Signed-off-by: Ian Molton <ian@mnementh.co.uk> +Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com> +Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> +Signed-off-by: Kalle Valo <kvalo@codeaurora.org> +--- + drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 -- + 1 file changed, 2 deletions(-) + +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +@@ -159,8 +159,6 @@ struct rte_console { + /* manfid tuple length, include tuple, link bytes */ + #define SBSDIO_CIS_MANFID_TUPLE_LEN 6 + +-#define CORE_BUS_REG(base, field) \ +- (base + offsetof(struct sdpcmd_regs, field)) + #define SD_REG(field) \ + (offsetof(struct sdpcmd_regs, field)) + |