]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: rtl8723bs: remove unnecessary parentheses in os_dep/ioctl_cfg80211.c
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 10 Apr 2021 14:20:34 +0000 (16:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Apr 2021 06:45:03 +0000 (08:45 +0200)
commit279fa77760fb621694769cdde27f7bd54e686a95
tree02356b4fb52595600048e1d29a603009554e3525
parent5bb62a191be0ee516bb5314554fa14498d9eba53
staging: rtl8723bs: remove unnecessary parentheses in os_dep/ioctl_cfg80211.c

fix following post-commit hook checkpatch issue:

WARNING: braces {} are not necessary for single statement blocks
94: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1225:
+ if (pwdev_priv->scan_request->wiphy == pwdev_priv->rtw_wdev->wiphy)
  {
  cfg80211_scan_done(pwdev_priv->scan_request, &info);
  }

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/fabc590b9f74f687cc0f7ea978577f0357df2974.1618064275.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c