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:
parent
e157c44a83
commit
3046430192
|
@ -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))) &&
|
||||||
|
|
Loading…
Reference in New Issue