lg-vl600: Convert uses of __constant_<foo> to <foo>
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>
This commit is contained in:
Родитель
ceffc4acfc
Коммит
1f36fc74d8
|
@ -210,7 +210,7 @@ static int vl600_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
|
||||||
* (0x86dd) so Linux can understand it.
|
* (0x86dd) so Linux can understand it.
|
||||||
*/
|
*/
|
||||||
if ((buf->data[sizeof(*ethhdr)] & 0xf0) == 0x60)
|
if ((buf->data[sizeof(*ethhdr)] & 0xf0) == 0x60)
|
||||||
ethhdr->h_proto = __constant_htons(ETH_P_IPV6);
|
ethhdr->h_proto = htons(ETH_P_IPV6);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count) {
|
if (count) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче