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:
ceffc4a
)
lg-vl600: Convert uses of __constant_<foo> to <foo>
author
Joe Perches
<joe@perches.com>
Wed, 12 Mar 2014 17:22:37 +0000
(10:22 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 12 Mar 2014 19:28:06 +0000
(15:28 -0400)
The use of __constant_<foo> has been unnecessary for quite awhile now.
Make these uses consistent with the rest of the kernel.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lg-vl600.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/lg-vl600.c
b/drivers/net/usb/lg-vl600.c
index acfcc32b323d87c1b6f4e64788802af932f74319..8f37efd2d2fbb3ec05fcde896b8b9e88136c2f35 100644
(file)
--- a/
drivers/net/usb/lg-vl600.c
+++ b/
drivers/net/usb/lg-vl600.c
@@
-210,7
+210,7
@@
static int vl600_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
* (0x86dd) so Linux can understand it.
*/
if ((buf->data[sizeof(*ethhdr)] & 0xf0) == 0x60)
- ethhdr->h_proto =
__constant_
htons(ETH_P_IPV6);
+ ethhdr->h_proto = htons(ETH_P_IPV6);
}
if (count) {