OSDN Git Service

staging/qlge: remove braces in conditional statement
authorDorothea Ehrl <dorothea.ehrl@fau.de>
Wed, 27 Nov 2019 12:30:51 +0000 (13:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Dec 2019 09:34:44 +0000 (10:34 +0100)
commit0da2d1051931aa15acbdb897606314c84fc81e43
treefbb45a468673bc97fd08312b45fbfc0e8b20ab00
parent2d060684ab4c2a9078c63a00892037dd4cfa6966
staging/qlge: remove braces in conditional statement

This patch fixes "WARNING: braces {} are not necessary for single
statement blocks" and "WARNING: braces {} are not necessary for any arm
of this statement" by checkpatch.pl.

Signed-off-by: Dorothea Ehrl <dorothea.ehrl@fau.de>
Co-developed-by: Vanessa Hack <vanessa.hack@fau.de>
Signed-off-by: Vanessa Hack <vanessa.hack@fau.de>
Link: https://lore.kernel.org/r/20191127123052.16424-4-dorothea.ehrl@fau.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/qlge/qlge_main.c