diff options
author | Emil Goode <emilgoode@gmail.com> | 2014-03-09 16:06:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-14 14:49:15 -0400 |
commit | c94239374fec4b98ffa7e6161f1c2e1ce02ca3e2 (patch) | |
tree | 2ff72783988210b1c194525f6f223efeb10f9310 | |
parent | 8fc1e8c240aab968db658b2d8d079b4391207a36 (diff) |
brcmsmac: update comment to reflect the code
The brcms_attach function is defined as static but the comment is
saying that it should not be static or gcc will issue a warning.
I believe we can remove the comment as I don't se a problem with
this function being defined as static.
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c index 93598cd7ee6a..8c5fa4e58139 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c | |||
@@ -1092,12 +1092,6 @@ static int ieee_hw_init(struct ieee80211_hw *hw) | |||
1092 | * Attach to the WL device identified by vendor and device parameters. | 1092 | * Attach to the WL device identified by vendor and device parameters. |
1093 | * regs is a host accessible memory address pointing to WL device registers. | 1093 | * regs is a host accessible memory address pointing to WL device registers. |
1094 | * | 1094 | * |
1095 | * brcms_attach is not defined as static because in the case where no bus | ||
1096 | * is defined, wl_attach will never be called, and thus, gcc will issue | ||
1097 | * a warning that this function is defined but not used if we declare | ||
1098 | * it as static. | ||
1099 | * | ||
1100 | * | ||
1101 | * is called in brcms_bcma_probe() context, therefore no locking required. | 1095 | * is called in brcms_bcma_probe() context, therefore no locking required. |
1102 | */ | 1096 | */ |
1103 | static struct brcms_info *brcms_attach(struct bcma_device *pdev) | 1097 | static struct brcms_info *brcms_attach(struct bcma_device *pdev) |