mirror of https://gitee.com/openkylin/linux.git
Staging:rtl8187se: Remove unnecessary braces from if-else statement
This patch fixes the checkpatch.pl warning braces {} are not necessary for any arm of this statement in ieee80211/ieee80211_softmac.c. Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4270826c69
commit
821aa20462
|
@ -119,11 +119,10 @@ void ieee80211_WMM_Info(struct ieee80211_device *ieee, u8 **tag_p)
|
|||
*tag++ = 0x00;
|
||||
*tag++ = 0x01;
|
||||
#ifdef SUPPORT_USPD
|
||||
if (ieee->current_network.wmm_info & 0x80) {
|
||||
if (ieee->current_network.wmm_info & 0x80)
|
||||
*tag++ = 0x0f|MAX_SP_Len;
|
||||
} else {
|
||||
else
|
||||
*tag++ = MAX_SP_Len;
|
||||
}
|
||||
#else
|
||||
*tag++ = MAX_SP_Len;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue