aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/8021q/vlan.c')
-rw-r--r--net/8021q/vlan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index eb1c71ed7dfe..c0c7bb8e9f07 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -470,7 +470,7 @@ static struct net_device *register_vlan_device(const char *eth_IF_name,
470 */ 470 */
471 default: 471 default:
472 snprintf(name, IFNAMSIZ, "vlan%.4i", VLAN_ID); 472 snprintf(name, IFNAMSIZ, "vlan%.4i", VLAN_ID);
473 }; 473 }
474 474
475 new_dev = alloc_netdev(sizeof(struct vlan_dev_info), name, 475 new_dev = alloc_netdev(sizeof(struct vlan_dev_info), name,
476 vlan_setup); 476 vlan_setup);
@@ -685,7 +685,7 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event,
685 break; 685 break;
686 } 686 }
687 break; 687 break;
688 }; 688 }
689 689
690out: 690out:
691 return NOTIFY_DONE; 691 return NOTIFY_DONE;
@@ -819,7 +819,7 @@ static int vlan_ioctl_handler(void __user *arg)
819 printk(VLAN_DBG "%s: Unknown VLAN CMD: %x \n", 819 printk(VLAN_DBG "%s: Unknown VLAN CMD: %x \n",
820 __FUNCTION__, args.cmd); 820 __FUNCTION__, args.cmd);
821 return -EINVAL; 821 return -EINVAL;
822 }; 822 }
823out: 823out:
824 return err; 824 return err;
825} 825}