patch-2.4.0-test2 linux/net/irda/irmod.c
Next file: linux/net/netlink/netlink_dev.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Jun 20 14:32:27 2000
- Orig file:
v2.4.0-test1/linux/net/irda/irmod.c
- Orig date:
Thu Feb 10 17:11:24 2000
diff -u --recursive --new-file v2.4.0-test1/linux/net/irda/irmod.c linux/net/irda/irmod.c
@@ -88,6 +88,7 @@
static u_int irda_poll(struct file *file, poll_table *wait);
static struct file_operations irda_fops = {
+ owner: THIS_MODULE,
read: irda_read,
write: irda_write,
poll: irda_poll,
@@ -394,8 +395,6 @@
return -1;
}
irda.in_use = TRUE;
-
- MOD_INC_USE_COUNT;
return 0;
}
@@ -446,8 +445,6 @@
static int irda_close(struct inode *inode, struct file *file)
{
IRDA_DEBUG(4, __FUNCTION__ "()\n");
-
- MOD_DEC_USE_COUNT;
irda.in_use = FALSE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)