diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-05 22:48:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-19 16:44:04 -0700 |
commit | 0c9f3a65c5eb7fe1fc611a22eb8a8b71ea865998 (patch) | |
tree | 331f103541383636192840399f63b87923bc6324 /drivers/staging/rtl8712/rtl871x_ioctl_linux.c | |
parent | 22649bb2b664ca241c8a14b4f886940c3a9cc998 (diff) | |
download | op-kernel-dev-0c9f3a65c5eb7fe1fc611a22eb8a8b71ea865998.zip op-kernel-dev-0c9f3a65c5eb7fe1fc611a22eb8a8b71ea865998.tar.gz |
staging: rtl8712, rtl8712: avoid lots of build warnings
The rtl8712 driver has an 'extern inline' function that contains an
'if', which causes lots of warnings with CONFIG_PROFILE_ALL_BRANCHES
overriding the definition of 'if':
drivers/staging/rtl8712/ieee80211.h:759:229: warning: '______f' is static but declared in inline function 'ieee80211_get_hdrlen' which is not static [enabled by default]
This changes the driver to use 'static inline' instead, which happens
to be the correct annotation anyway.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_ioctl_linux.c')
0 files changed, 0 insertions, 0 deletions