net: cdc_ether: silence sparse __CHECK_ENDIAN__ warning
authorBjørn Mork <bjorn@mork.no>
Tue, 16 Apr 2013 22:12:13 +0000 (22:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2013 18:15:39 +0000 (14:15 -0400)
commita6bda459fafd5d017e4a9505d08fe72de5fcdef3
treee0551180ae96cdf8896098bc0d9b86f6b5c154b1
parentc1db7a26ac3f7223a38eaeb46a77d0cf9e6a0d8f
net: cdc_ether: silence sparse __CHECK_ENDIAN__ warning

Remove warning introduced by commit 418fc57 ("usbnet: cdc-ether: apply
usbnet_link_change"):

   CHECK   .../drivers/net/usb/cdc_ether.c
 .../drivers/net/usb/cdc_ether.c:409:46: warning: incorrect type in argument 2 (different base types)
 .../drivers/net/usb/cdc_ether.c:409:46:    expected bool [unsigned] [usertype] <noident>
 .../drivers/net/usb/cdc_ether.c:409:46:    got restricted __le16 [usertype] wValue

Cc: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c