Skip to contentSkip to conversation

net/ieee802154/6lowpan.c: Remove unecessary semicolon

PATCH Applied Peter Senna Tschudin 2 participants 6 messages Sep 18, 2012

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 net/ieee802154/6lowpan.c: Remove unecessary semicolon

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

---
 net/ieee802154/6lowpan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ieee802154/6lowpan.c +1 -1
index d529111..6d42c17 100644
@@ -1256,7 +1256,7 @@ static int lowpan_device_event(struct notifier_block *unused,
 		}
 
 		unregister_netdevice_many(&del_list);
-	};
+	}
 
 out:
 	return NOTIFY_DONE;
Signature · 1 line
1.7.11.4
#1 lore raw

PATCH 2/3 net/openvswitch/vport.c: Remove unecessary semicolon

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

---
 net/openvswitch/vport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/openvswitch/vport.c +1 -1
index 9055dd6..03779e8 100644
@@ -398,7 +398,7 @@ void ovs_vport_record_error(struct vport *vport, enum vport_err_type err_type)
 	case VPORT_E_TX_ERROR:
 		vport->err_stats.tx_errors++;
 		break;
-	};
+	}
 
 	spin_unlock(&vport->stats_lock);
 }
Signature · 1 line
1.7.11.4
#3 lore raw

PATCH 3/3 net/tipc/name_table.c: Remove unecessary semicolon

In reply to Peter Senna Tschudin

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

---
 net/tipc/name_table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/tipc/name_table.c +1 -1
index 98975e8..4675477 100644
@@ -783,7 +783,7 @@ static int subseq_list(struct sub_seq *sseq, char *buf, int len, u32 depth,
 		if (!list_is_last(&publ->zone_list, &info->zone_list))
 			ret += tipc_snprintf(buf + ret, len - ret,
 					     "\n%33s", " ");
-	};
+	}
 
 	ret += tipc_snprintf(buf + ret, len - ret, "\n");
 	return ret;
Signature · 1 line
1.7.11.4