Skip to content

Commit

Permalink
staging: brcm80211: remove 'used' keyword from function ai_ispcie()
Browse files Browse the repository at this point in the history
The function ai_ispcie() is a static function that is currently being
called from the c sources in the driver. Side-effect of the keyword
is that warning will suppressed when this function is no longer used.
As there is no assembly code using this function, the keyword is removed.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 1baaacd commit 0a76cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmsmac/aiutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ static char *ai_devpathvar(struct si_pub *sih, char *var, int len,
}

/* return true if PCIE capability exists in the pci config space */
static __used bool ai_ispcie(si_info_t *sii)
static bool ai_ispcie(si_info_t *sii)
{
u8 cap_ptr;

Expand Down

0 comments on commit 0a76cd5

Please sign in to comment.