Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ff50b79 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

[NET]: cleanup extra semicolons



Spring cleaning time...

There seems to be a lot of places in the network code that have
extra bogus semicolons after conditionals.  Most commonly is a
bogus semicolon after: switch() { }

Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c462238d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -554,7 +554,8 @@ static int rif_seq_show(struct seq_file *seq, void *v)
					if(j==1) {
						segment=ntohs(entry->rseg[j-1])>>4;
						seq_printf(seq,"  %03X",segment);
					};
					}

					segment=ntohs(entry->rseg[j])>>4;
					brdgnmb=ntohs(entry->rseg[j-1])&0x00f;
					seq_printf(seq,"-%01X-%03X",brdgnmb,segment);
+3 −3
Original line number Diff line number Diff line
@@ -470,7 +470,7 @@ static struct net_device *register_vlan_device(const char *eth_IF_name,
		 */
	default:
		snprintf(name, IFNAMSIZ, "vlan%.4i", VLAN_ID);
	};
	}

	new_dev = alloc_netdev(sizeof(struct vlan_dev_info), name,
			       vlan_setup);
@@ -685,7 +685,7 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event,
				break;
		}
		break;
	};
	}

out:
	return NOTIFY_DONE;
@@ -819,7 +819,7 @@ static int vlan_ioctl_handler(void __user *arg)
		printk(VLAN_DBG "%s: Unknown VLAN CMD: %x \n",
			__FUNCTION__, args.cmd);
		return -EINVAL;
	};
	}
out:
	return err;
}
+2 −2
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ int vlan_dev_rebuild_header(struct sk_buff *skb)

		memcpy(veth->h_source, dev->dev_addr, ETH_ALEN);
		break;
	};
	}

	return 0;
}
@@ -219,7 +219,7 @@ int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev,
		break;
	default:
		break;
	};
	}

	/*  Was a VLAN packet, grab the encapsulated protocol, which the layer
	 * three protocols care about.
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ int ax25_rebuild_header(struct sk_buff *skb)
		digipeat = route->digipeat;
		dev = route->dev;
		ip_mode = route->ip_mode;
	};
	}

	if (dev == NULL)
		dev = skb->dev;
+2 −2
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ static int __hci_request(struct hci_dev *hdev, void (*req)(struct hci_dev *hdev,
	default:
		err = -ETIMEDOUT;
		break;
	};
	}

	hdev->req_status = hdev->req_result = 0;

@@ -1388,7 +1388,7 @@ static void hci_rx_task(unsigned long arg)
			case HCI_SCODATA_PKT:
				kfree_skb(skb);
				continue;
			};
			}
		}

		/* Process frame */
Loading