]> git.hungrycats.org Git - linux/commitdiff
[SPARC64]: Kill unnecessary MOD_{INC,DEC}_USE_COUNT in cpwatchdog and envctrl drivers.
authorDavid S. Miller <davem@nuts.ninka.net>
Tue, 22 Apr 2003 16:40:17 +0000 (09:40 -0700)
committerDavid S. Miller <davem@kernel.bkbits.net>
Tue, 22 Apr 2003 16:40:17 +0000 (09:40 -0700)
drivers/sbus/char/cpwatchdog.c
drivers/sbus/char/envctrl.c

index b23c2921015825664f475e9c5801dc525c5ae85a..5a3efa2b53ad5bf3a2cc5cc286eecf14ce8101a4 100644 (file)
@@ -325,13 +325,11 @@ static int wd_open(struct inode *inode, struct file *f)
                wd_dev.initialized = 1;
        }
 
-       MOD_INC_USE_COUNT;
        return(0);
 }
 
 static int wd_release(struct inode *inode, struct file *file)
 {
-       MOD_DEC_USE_COUNT;
        return 0;
 }
 
index f3b87d84afd017a294305ec4d98554003e26f277..0fc7f2960fea25aeebc86a436062336cad941519 100644 (file)
@@ -707,7 +707,6 @@ static int
 envctrl_open(struct inode *inode, struct file *file)
 {
        file->private_data = 0;
-       MOD_INC_USE_COUNT;
        return 0;
 }
 
@@ -717,7 +716,6 @@ envctrl_open(struct inode *inode, struct file *file)
 static int
 envctrl_release(struct inode *inode, struct file *file)
 {
-       MOD_DEC_USE_COUNT;
        return 0;
 }