summaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-05-11 22:15:39 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-12 15:00:45 -0400
commit7390e8b0dee778b0a964337558990a91094e679a (patch)
treeaf1fc449dcfa152e55e6b8544ff3102ab4f44891 /drivers/net/hyperv/hyperv_net.h
parent647c0c70e8a44e359d1d90d9d067d0b6b611076a (diff)
downloadop-kernel-dev-7390e8b0dee778b0a964337558990a91094e679a.zip
op-kernel-dev-7390e8b0dee778b0a964337558990a91094e679a.tar.gz
usb/net: rndis: inline the cpu_to_le32() macro
The header file <linux/usb/rndis_host.h> used a number of #defines that included the cpu_to_le32() macro to assure the result will be in LE endianness. Inlining this into the code instead of using it in the code definitions yields consolidation opportunities later on as you will see in the following patches. The individual drivers also used local defines - all are switched over to the pattern of doing the conversion at the call sites instead. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud