Skip to content

Commit

Permalink
net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version.
Browse files Browse the repository at this point in the history
The below patch removes vlan_buggyright and vlan_copyright from vlan_proto_init,
so that it prints out just the fullname of vlan and the version number.

before:

[   30.438203] 802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
[   30.441542] All bugs added by David S. Miller <[email protected]>

after:

[   31.513910] 802.1Q VLAN Support v1.8

Signed-off-by: Justin P. Mattock <[email protected]>
CC: Joe Perches <[email protected]>
CC: David S. Miller <[email protected]>
CC: Ben Greear <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Justin Mattock authored and davem330 committed May 26, 2011
1 parent 240b262 commit da7c06c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions net/8021q/vlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ int vlan_net_id __read_mostly;

const char vlan_fullname[] = "802.1Q VLAN Support";
const char vlan_version[] = DRV_VERSION;
static const char vlan_copyright[] = "Ben Greear <[email protected]>";
static const char vlan_buggyright[] = "David S. Miller <[email protected]>";

/* End of global variables definitions. */

Expand Down Expand Up @@ -673,8 +671,7 @@ static int __init vlan_proto_init(void)
{
int err;

pr_info("%s v%s %s\n", vlan_fullname, vlan_version, vlan_copyright);
pr_info("All bugs added by %s\n", vlan_buggyright);
pr_info("%s v%s\n", vlan_fullname, vlan_version);

err = register_pernet_subsys(&vlan_net_ops);
if (err < 0)
Expand Down

0 comments on commit da7c06c

Please sign in to comment.