Skip to content

Commit

Permalink
lg-vl600: Convert uses of __constant_<foo> to <foo>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and David S. Miller committed Mar 12, 2014
1 parent ceffc4a commit 1f36fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/usb/lg-vl600.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1f36fc7

Please sign in to comment.