diff options
author | Mike McCormack <mikem@ring3k.org> | 2011-01-31 22:11:02 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-31 13:57:06 -0800 |
commit | 1694027394a625fc880d8a6d5357d17d48d64978 (patch) | |
tree | b235e09c3df91ab80f57b8d2022b4b0b99003c2b | |
parent | 11aacc282d6755f452fb88f76a883ea77c3b982e (diff) |
Staging: rtl8192e: Remove unused endian_swap function
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_core.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index fb16bef4973f..13158fa33769 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c @@ -2264,17 +2264,6 @@ static void rtl8192_get_eeprom_size(struct net_device* dev) } /* - * used to swap endian. as ntohl & htonl are not - * neccessary to swap endian, so use this instead. - */ -static inline u16 endian_swap(u16* data) -{ - u16 tmp = *data; - *data = (tmp >> 8) | (tmp << 8); - return *data; -} - -/* * Adapter->EEPROMAddressSize should be set before this function call. * EEPROM address size can be got through GetEEPROMSize8185() */ |