mac80211: brcmfmac: restructuring sdio access functions - take 2
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 312-v4.16-0009-brcmfmac-Remove-unused-macro.patch
1 From 5cfe38f1f8d3c6b98e15b8cfde05028a3c79930b Mon Sep 17 00:00:00 2001
2 From: Ian Molton <ian@mnementh.co.uk>
3 Date: Fri, 8 Dec 2017 13:10:34 +0100
4 Subject: [PATCH] brcmfmac: Remove unused macro.
5
6 This macro is used exactly nowhere in the code. Delete it.
7
8 Signed-off-by: Ian Molton <ian@mnementh.co.uk>
9 Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
10 Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
11 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
12 ---
13 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 --
14 1 file changed, 2 deletions(-)
15
16 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
17 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
18 @@ -159,8 +159,6 @@ struct rte_console {
19 /* manfid tuple length, include tuple, link bytes */
20 #define SBSDIO_CIS_MANFID_TUPLE_LEN 6
21
22 -#define CORE_BUS_REG(base, field) \
23 - (base + offsetof(struct sdpcmd_regs, field))
24 #define SD_REG(field) \
25 (offsetof(struct sdpcmd_regs, field))
26