alistair23-linux/drivers/staging
Madhumitha Prabakaran 3b706841c2 Staging: rtlwifi: Cleanup crc16_ccitt()
crc16_ccitt() function does "BIT(0) << i" instead of "BIT(i)".
Using !! is slightly shorter than "foo ? 1: 0" and remove unnecessary
parentheses to make the code simple.

Issue suggested by Coccinelle.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-16 13:44:30 +02:00
..
android staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
axis-fifo staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
board staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
clocking-wizard staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
comedi staging: comedi: adv_pci1710: fix spelling mistake: "droput" -> "dropout" 2019-04-16 12:57:54 +02:00
emxx_udc staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
erofs Merge 5.1-rc3 into staging-next 2019-04-01 07:49:24 +02:00
fbtft staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
fsl-dpaa2 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
fwserial staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
gasket Staging: gasket: Use DIV_ROUND_UP 2019-04-16 13:22:50 +02:00
gdm724x staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
goldfish staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
greybus staging: greybus: power_supply: fix prop-descriptor request size 2019-04-16 13:22:51 +02:00
gs_fpgaboot staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
iio First set of new device support, features and fixes for IIO in the 5.2 cycle 2019-04-04 22:25:29 +02:00
ks7010 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
media staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
most staging: most: Documentation: update driver documentation 2019-04-16 13:25:18 +02:00
mt7621-dma staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-dts staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-pci staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-pci-phy staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-pinctrl staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-spi staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
netlogic staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
nvec staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
octeon staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
octeon-usb staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
olpc_dcon staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
pi433 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
ralink-gdma staging: ralink-gdma: add proper SPDX identifiers on ralink-gdma file 2019-04-03 11:10:17 +02:00
rtl8188eu staging: rtl8188eu: make sta2sta_data_frame() static 2019-04-16 13:31:58 +02:00
rtl8192e staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
rtl8192u staging: rtl8192u: ieee80211: add space around '==' and before '(' 2019-04-16 13:31:58 +02:00
rtl8712 staging: rtl8712: remove unnecessary NULL check 2019-04-16 13:31:58 +02:00
rtl8723bs Staging: hal: hal_com_phycfg: fixed a coding style issue 2019-04-16 13:44:30 +02:00
rtlwifi Staging: rtlwifi: Cleanup crc16_ccitt() 2019-04-16 13:44:30 +02:00
rts5208 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
sm750fb staging: sm750fb: add proper SPDX identifier to driver 2019-04-03 11:10:16 +02:00
speakup staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
unisys staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
vboxvideo staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
vc04_services staging: vc04_services: remove remaining redundant license text 2019-04-03 11:10:16 +02:00
vme staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
vt6655 staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
vt6656 staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
wilc1000 staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
wlan-ng staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
Kconfig staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
Makefile staging: m57621-mmc: delete driver from the tree. 2019-04-03 11:10:15 +02:00