2012-09-06 16:09:47

by Peter Senna Tschudin

[permalink] [raw]
Subject: [PATCH 8/10] net/mac80211/scan.c: removes unnecessary semicolon

From: Peter Senna Tschudin <[email protected]>

removes unnecessary semicolon

Found by Coccinelle: http://coccinelle.lip6.fr/

Signed-off-by: Peter Senna Tschudin <[email protected]>

---
net/mac80211/scan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -u -p a/net/mac80211/scan.c b/net/mac80211/scan.c
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -407,7 +407,7 @@ static void ieee80211_scan_state_send_pr
enum ieee80211_band band = local->hw.conf.channel->band;

sdata = rcu_dereference_protected(local->scan_sdata,
- lockdep_is_held(&local->mtx));;
+ lockdep_is_held(&local->mtx));

for (i = 0; i < local->scan_req->n_ssids; i++)
ieee80211_send_probe_req(



2012-09-07 11:29:57

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH 8/10] net/mac80211/scan.c: removes unnecessary semicolon

On Thu, 2012-09-06 at 18:09 +0200, Peter Senna Tschudin wrote:
> From: Peter Senna Tschudin <[email protected]>
>
> removes unnecessary semicolon
>
> Found by Coccinelle: http://coccinelle.lip6.fr/

Applied. It'd be nice to have the spatch, I guess :)

johannes