Commit 0a76cd59 authored by Arend van Spriel's avatar Arend van Spriel Committed by Greg Kroah-Hartman
Browse files

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: default avatarArend van Spriel <arend@broadcom.com>
Reviewed-by: default avatarFranky Lin <frankyl@broadcom.com>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1baaacd9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;