mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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>
This commit is contained in:
parent
26df933d9b
commit
9d37086981
1 changed files with 1 additions and 2 deletions
|
@ -1352,9 +1352,8 @@ rtllib_association_req(struct rtllib_network *beacon,
|
|||
rtllib_WMM_Info(ieee, &tag);
|
||||
}
|
||||
|
||||
if (wps_ie_len && ieee->wps_ie) {
|
||||
if (wps_ie_len && ieee->wps_ie)
|
||||
skb_put_data(skb, ieee->wps_ie, wps_ie_len);
|
||||
}
|
||||
|
||||
if (turbo_info_len) {
|
||||
tag = skb_put(skb, turbo_info_len);
|
||||
|
|
Loading…
Reference in a new issue