Commit 094b199b authored by Arend van Spriel's avatar Arend van Spriel Committed by John W. Linville

brcm80211: smac: some local function made static in main.c

In main.c a couple of functions were not static although they
were only locally used. Sparse gave warnings on them and these
functions have been made static.
Reviewed-by: default avatarAlwin Beukers <alwin@broadcom.com>
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 888153b3
...@@ -618,9 +618,8 @@ static void brcms_b_update_slot_timing(struct brcms_hardware *wlc_hw, ...@@ -618,9 +618,8 @@ static void brcms_b_update_slot_timing(struct brcms_hardware *wlc_hw,
* calculate frame duration of a given rate and length, return * calculate frame duration of a given rate and length, return
* time in usec unit * time in usec unit
*/ */
uint static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec,
brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec, u8 preamble_type, uint mac_len)
u8 preamble_type, uint mac_len)
{ {
uint nsyms, dur = 0, Ndps, kNdps; uint nsyms, dur = 0, Ndps, kNdps;
uint rate = rspec2rate(ratespec); uint rate = rspec2rate(ratespec);
...@@ -4184,7 +4183,7 @@ void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci, ...@@ -4184,7 +4183,7 @@ void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci,
} }
} }
void brcms_c_edcf_setparams(struct brcms_c_info *wlc, bool suspend) static void brcms_c_edcf_setparams(struct brcms_c_info *wlc, bool suspend)
{ {
u16 aci; u16 aci;
int i_ac; int i_ac;
...@@ -6100,9 +6099,9 @@ void brcms_c_print_txdesc(struct d11txh *txh) ...@@ -6100,9 +6099,9 @@ void brcms_c_print_txdesc(struct d11txh *txh)
#endif /* defined(BCMDBG) */ #endif /* defined(BCMDBG) */
#if defined(BCMDBG) #if defined(BCMDBG)
int static int
brcms_c_format_flags(const struct brcms_c_bit_desc *bd, u32 flags, char *buf, brcms_c_format_flags(const struct brcms_c_bit_desc *bd, u32 flags, char *buf,
int len) int len)
{ {
int i; int i;
char *p = buf; char *p = buf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment