Re: [PATCH] Staging: rtl8188eu: core: rtw_security: tidy up crc32_init()

2019-08-06 Thread Dan Carpenter
Looks good. Reviewed-by: Dan Carpenter regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] Staging: rtl8188eu: core: rtw_security: tidy up crc32_init()

2019-08-06 Thread Merwin Trever Ferrao
This code generates checkpatch warning: WARNING: else is not generally useful after a break or return Moving the declaration to the top of the function we can pull the code back one tab and it makes it more readable. Signed-off-by: Merwin Trever Ferrao ---