projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11aacc2
)
Staging: rtl8192e: Remove unused endian_swap function
author
Mike McCormack
<
[email protected]
>
Mon, 31 Jan 2011 13:11:02 +0000
(22:11 +0900)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 31 Jan 2011 21:57:06 +0000
(13:57 -0800)
Signed-off-by: Mike McCormack <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rtl8192e/r8192E_core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192e/r8192E_core.c
b/drivers/staging/rtl8192e/r8192E_core.c
index fb16bef4973f0a2dc2aa31407713f1808a39d256..13158fa3376976b6e3bf1e49ce67fbad6f934214 100644
(file)
--- a/
drivers/staging/rtl8192e/r8192E_core.c
+++ b/
drivers/staging/rtl8192e/r8192E_core.c
@@
-2263,17
+2263,6
@@
static void rtl8192_get_eeprom_size(struct net_device* dev)
RT_TRACE(COMP_INIT, "<===========%s(), epromtype:%d\n", __FUNCTION__, priv->epromtype);
}
-/*
- * 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()