Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

atmel: printing bogus information

There was an extra ';' character added to the end of the if statement
which means that it always prints that the /proc entry wasn't created
even though it was.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Dan Carpenter and committed by
John W. Linville
beaee9ca 08c96abd

+1 -1
+1 -1
drivers/net/wireless/atmel.c
··· 1624 1624 1625 1625 netif_carrier_off(dev); 1626 1626 1627 - if (!proc_create_data("driver/atmel", 0, NULL, &atmel_proc_fops, priv)); 1627 + if (!proc_create_data("driver/atmel", 0, NULL, &atmel_proc_fops, priv)) 1628 1628 printk(KERN_WARNING "atmel: unable to create /proc entry.\n"); 1629 1629 1630 1630 printk(KERN_INFO "%s: Atmel at76c50x. Version %d.%d. MAC %pM\n",