rndis: remove private wrapper of __constant_cpu_to_le32
Use cpu_to_le32 directly as it handles constant folding now, replace direct uses of __constant_cpu_to_{endian} as well. Signed-off-by:Harvey Harrison <harvey.harrison@gmail.com> Acked-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/usb/rndis_host.c 11 additions, 14 deletionsdrivers/net/usb/rndis_host.c
- drivers/net/wireless/rndis_wlan.c 45 additions, 45 deletionsdrivers/net/wireless/rndis_wlan.c
- drivers/usb/gadget/rndis.c 46 additions, 46 deletionsdrivers/usb/gadget/rndis.c
- include/linux/usb/rndis_host.h 41 additions, 44 deletionsinclude/linux/usb/rndis_host.h
Loading
Please register or sign in to comment