]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8187se: Fix big-endian warning
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 24 Jun 2011 22:02:27 +0000 (17:02 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 02:59:48 +0000 (19:59 -0700)
commitffac362e71ddc849d555b9a9726831b97b09288b
treed58c90e73a5d7a7ca86d14e37dec31c08528d6b6
parent89415218adaf4b0dba562b79169c2980717541c6
staging: rtl8187se: Fix big-endian warning

When compiling the rtl8187se driver from staging on a big-endian
architecture, the following warning results:

  CC [M]  drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.o
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c: In function 'ieee80211_probe_resp':
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:824: warning: value computed is not used

The warning is due to misuse of cpu_to_le16().

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c