staging: rtl8188eu: rewrite if tests - style

Rewrite if tests to clear a 'line over 80 characters' and
'Comparisons should place the constant on the right side of the test'
checkpatch warning.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Michael Straube 2018-10-03 22:43:59 +02:00 committed by Greg Kroah-Hartman
parent e157c44a83
commit 3046430192
1 changed files with 1 additions and 1 deletions

View File

@ -3957,7 +3957,7 @@ static void init_channel_list(struct adapter *padapter,
if (!has_channel(channel_set, chanset_size, ch)) if (!has_channel(channel_set, chanset_size, ch))
continue; continue;
if ((0 == padapter->registrypriv.ht_enable) && (8 == o->inc)) if (!padapter->registrypriv.ht_enable && o->inc == 8)
continue; continue;
if ((0 == (padapter->registrypriv.cbw40_enable & BIT(1))) && if ((0 == (padapter->registrypriv.cbw40_enable & BIT(1))) &&