Re: [PATCH v3] Staging: rtlwifi: Cleanup crc16_ccitt()
Thanks! Reviewed-by: Dan Carpenter regards, dan carpenter
[PATCH v3] 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 --- Changes in v3: - Changed subject line and commit log