From: Arend van Spriel Date: Thu, 9 Jun 2011 14:44:45 +0000 (+0200) Subject: staging: brcm80211: remove 'used' keyword from function ai_ispcie() X-Git-Tag: next-20110726~5^2~563 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0a76cd592c8c62bce4a76a08a6932c3c49962646;p=karo-tx-linux.git staging: brcm80211: remove 'used' keyword from function ai_ispcie() 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 Reviewed-by: Franky Lin Reviewed-by: Roland Vossen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmsmac/aiutils.c b/drivers/staging/brcm80211/brcmsmac/aiutils.c index 4b908f785178..7907b15ee437 100644 --- a/drivers/staging/brcm80211/brcmsmac/aiutils.c +++ b/drivers/staging/brcm80211/brcmsmac/aiutils.c @@ -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;