Skip to content

Commit

Permalink
r6040: fix version printing
Browse files Browse the repository at this point in the history
The version string already contains the printk level
specifying it again results in the following message
being printed:
<6>r6040: RDC R6040 NAPI ...

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Nov 16, 2009
1 parent eaa04dc commit 3fa8486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ static int __devinit r6040_init_one(struct pci_dev *pdev,
int bar = 0;
u16 *adrp;

printk(KERN_INFO "%s\n", version);
printk("%s\n", version);

err = pci_enable_device(pdev);
if (err)
Expand Down

0 comments on commit 3fa8486

Please sign in to comment.