diff options
author | Michael Straube <straube.linux@gmail.com> | 2019-04-22 11:58:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 12:06:56 +0200 |
commit | 06e8c289a2366cd0cfc3dc41151a94fc48d9aa0f (patch) | |
tree | 0bbfba4c6cdd1be0939bf4e3255a07749e9eb5f9 /drivers/staging/rtl8188eu/core/rtw_cmd.c | |
parent | staging: rtl8188eu: add spaces around '-' in rtw_cmd.c (diff) | |
download | linux-dev-06e8c289a2366cd0cfc3dc41151a94fc48d9aa0f.tar.xz linux-dev-06e8c289a2366cd0cfc3dc41151a94fc48d9aa0f.zip |
staging: rtl8188eu: remove unnecessary parentheses
Remove unnecessary parentheses to improve readability.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index 61da56a3bbc4..a24b40761af2 100644 --- a/drivers/staging/rtl8188eu/core/rtw_cmd.c +++ b/drivers/staging/rtl8188eu/core/rtw_cmd.c @@ -405,7 +405,7 @@ u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork) psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->ie_length; - if ((psecnetwork->ie_length - 12) < 255) + if (psecnetwork->ie_length - 12 < 255) memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], psecnetwork->ie_length - 12); else memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], 255); |