patch-2.3.29 linux/drivers/net/hamradio/scc.c
Next file: linux/drivers/net/hamradio/yam.c
Previous file: linux/drivers/net/hamradio/bpqether.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Nov 21 11:13:56 1999
- Orig file:
v2.3.28/linux/drivers/net/hamradio/scc.c
- Orig date:
Mon Nov 1 13:56:26 1999
diff -u --recursive --new-file v2.3.28/linux/drivers/net/hamradio/scc.c linux/drivers/net/hamradio/scc.c
@@ -1571,7 +1571,7 @@
unsigned char *buf;
struct net_device *dev;
- if (dev_get(name) != NULL)
+ if (dev_get(name))
{
printk(KERN_INFO "Z8530drv: device %s already exists.\n", name);
return -EEXIST;
@@ -2068,7 +2068,7 @@
/* ******************************************************************** */
-static int scc_net_get_info(char *buffer, char **start, off_t offset, int length, int dummy)
+static int scc_net_get_info(char *buffer, char **start, off_t offset, int length)
{
struct scc_channel *scc;
struct scc_kiss *kiss;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)