[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: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c462238d6a
commit
3ff50b7997
@@ -786,7 +786,7 @@ static int count_trail_chars(const char __user * user_buffer,
|
||||
break;
|
||||
default:
|
||||
goto done;
|
||||
};
|
||||
}
|
||||
}
|
||||
done:
|
||||
return i;
|
||||
@@ -829,7 +829,7 @@ static int strn_len(const char __user * user_buffer, unsigned int maxlen)
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
}
|
||||
done_str:
|
||||
return i;
|
||||
@@ -1906,7 +1906,7 @@ static int pktgen_device_event(struct notifier_block *unused,
|
||||
case NETDEV_UNREGISTER:
|
||||
pktgen_mark_device(dev->name);
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
return NOTIFY_DONE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user