]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Staging: rtl8188eu: core: rtw_security: tidy up crc32_init()
authorMerwin Trever Ferrao <merwintf@gmail.com>
Tue, 6 Aug 2019 12:28:49 +0000 (17:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Aug 2019 16:59:18 +0000 (18:59 +0200)
commit4f4139e0213516e74cc22fc9787671f325c2b66b
tree2a81b3ab7a93828b320fd6828f641a8e8047f997
parentb0d525a007b9c954bd2f777174a378eb76cb89e2
Staging: rtl8188eu: core: rtw_security: tidy up crc32_init()

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 <merwintf@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20190806122849.GA25628@IoT-COE
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_security.c