]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192e: remove braces from single-line block
authorPhillip Potter <phil@philpotter.co.uk>
Sun, 7 Feb 2021 22:57:03 +0000 (22:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2021 14:24:57 +0000 (15:24 +0100)
commit3fcc0345dc93b12221e618167445395ad3f470bc
treec4ad8197b71762544c04b9a2c88b4ea331329b4a
parentfc0b9c116e928d0ef61d21a02e6222ab25d7a13b
staging: rtl8192e: remove braces from single-line block

This removes the braces from the if statement that checks the
wps_ie_len and ieee->wps_ie values in rtllib_association_req of
rtllib_softmac.c as this block contains only one statement.
Fixes a checkpatch warning.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210207225703.114229-1-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c