OSDN Git Service

staging, rtl8192e, LLVMLinux: Remove unused prototype
authorBehan Webster <behanw@converseincode.com>
Wed, 29 Oct 2014 22:42:22 +0000 (15:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 23:33:05 +0000 (16:33 -0700)
commitd82f0029e03d8512ac523ac2e4caa5cecb989570
tree4caedb55c82f6f20520b94ac1ea3657ff334598e
parent62ec95f86d2850b7ce6d73fb236a6fcf48411aea
staging, rtl8192e, LLVMLinux: Remove unused prototype

MgntQuery_MgntFrameTxRate is only used within rtllib_softmac.c, so it really
should be static instead of extern.

Since it is currently extern a warning is generated because a different
function of the same name is defined staticlly in ieee80211_softmac.c

Removing the incorrect extern declaration and defining the rtllib_softmac
version of this routine static fixes the warning.

Signed-off-by: Behan Webster <behanw@converseincode.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c