Skip to contentSkip to conversation

brcm80211: fix the misaligned indentation

PATCH RESEND In review Akinobu Mita 2 participants 2 messages Mar 29, 2013 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 brcm80211: fix the misaligned indentation

This fixes the misaligned indentation introduced by drivers-net-rename-random32-to-prandom_u32.patch in the -mm tree.

This also remove unneeded parentheses in order not to cause line over 80 characters.

Cc "John W. Linville" <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Brett Rudley <[email protected]>
Cc Arend van Spriel <[email protected]>
Cc "Franky (Zhenhui) Lin" <[email protected]>
Cc Hante Meuleman <[email protected]>
---
 drivers/net/wireless/brcm80211/brcmfmac/p2p.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/brcm80211/brcmfmac/p2p.c +1 -1
index bca31a8..5da1645 100644
@@ -1118,7 +1118,7 @@ static void brcmf_p2p_afx_handler(struct work_struct *work)
 	if (afx_hdl->is_listen && afx_hdl->my_listen_chan)
 		/* 100ms ~ 300ms */
 		err = brcmf_p2p_discover_listen(p2p, afx_hdl->my_listen_chan,
-					100 * (1 + (prandom_u32() % 3)));
+						100 * (1 + prandom_u32() % 3));
 	else
 		err = brcmf_p2p_act_frm_search(p2p, afx_hdl->peer_listen_chan);
 
Signature · 1 line
1.8.1.4
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Akinobu Mita

This fixes the misaligned indentation introduced by drivers-net-rename-random32-to-prandom_u32.patch in the -mm tree.

This also remove unneeded parentheses in order not to cause line over 80 characters.

Quoted 9 lines
Cc "John W. Linville" <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Brett Rudley <[email protected]>
Cc Arend van Spriel <[email protected]>
Cc "Franky (Zhenhui) Lin" <[email protected]>
Cc Hante Meuleman <[email protected]>