Fixed a braces style warning. Warning: braces {} are not necessary for single statement blocks. Signed-off-by: Rakhi Sharma <rakhish1994@xxxxxxxxx> --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers/staging/rtl8723au/core/rtw_ieee80211.c index 0c933e4..365f780 100644 --- a/drivers/staging/rtl8723au/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8723au/core/rtw_ieee80211.c @@ -176,11 +176,9 @@ u8 *rtw_get_ie23a(u8 *pbuf, int index, int *len, int limit) int tmp, i; u8 *p; - if (limit < 1) { + if (limit < 1) return NULL; - } - p = pbuf; i = 0; *len = 0; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html