net: cdc_ncm: endian convert constants instead of variables
authorBjørn Mork <bjorn@mork.no>
Fri, 1 Nov 2013 10:16:56 +0000 (11:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Nov 2013 06:02:04 +0000 (02:02 -0400)
commit986e10d6718704fa96c8e59921727358917161ec
tree16bee944d163898e3b9a6fc0f35a121a67a37c64
parent5448d75f71b2966df0f0da71b9d08eeb2811a80b
net: cdc_ncm: endian convert constants instead of variables

Converting the constants used in these comparisons at build
time instead of converting the variables for every received
frame at run time.

Cc: Alexey Orishko <alexey.orishko@gmail.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c