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.
Signed-off-by: Akinobu Mita <[email protected]>
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]>
Cc: [email protected]
Cc: [email protected]
---
drivers/net/wireless/brcm80211/brcmfmac/p2p.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/p2p.c b/drivers/net/wireless/brcm80211/brcmfmac/p2p.c
index bca31a8..5da1645 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/p2p.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/p2p.c
@@ -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);
--
1.8.1.4
On 03/29/2013 01:33 PM, Akinobu Mita wrote:
> 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.
>
Acked-by: Arend van Spriel <[email protected]>
> Signed-off-by: Akinobu Mita <[email protected]>
> 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]>
> Cc: [email protected]
> Cc: [email protected]