]> git.hungrycats.org Git - linux/commitdiff
[PATCH] remove MOD_{INC,DEC}_USE_COUNT users that got back in
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Sep 2004 01:00:05 +0000 (18:00 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 8 Sep 2004 01:00:05 +0000 (18:00 -0700)
the ibm_emac_mal.c one is in exported function, so useless, the other
two are stale decrements.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/epca.c
drivers/net/ibm_emac/ibm_emac_mal.c
drivers/net/lasi_82596.c

index 3f06a7ace867e2e442afa2b8aa73e504d4f491ce..de1f2393b9c22154c0f3aa7b829023043474041b 100644 (file)
@@ -3306,7 +3306,6 @@ static void do_softint(void *private_)
                }
 
        } /* End EPCA_MAGIC */
-       MOD_DEC_USE_COUNT;
 } /* End do_softint */
 
 /* ------------------------------------------------------------
index 02d847cfa9235a7950cd869d26682d48f23eb081..6597791a728fa9a5183e1867c6624731e5d23828 100644 (file)
@@ -55,8 +55,6 @@ int mal_register_commac(struct ibm_ocp_mal *mal, struct mal_commac *commac)
 
        write_unlock_irqrestore(&mal_list_lock, flags);
 
-       MOD_INC_USE_COUNT;
-
        return 0;
 }
 
@@ -73,8 +71,6 @@ int mal_unregister_commac(struct ibm_ocp_mal *mal, struct mal_commac *commac)
 
        write_unlock_irqrestore(&mal_list_lock, flags);
 
-       MOD_DEC_USE_COUNT;
-
        return 0;
 }
 
index 4957de6d8c97987b68b46d32a861df7ad99cbcc4..b315acb1436206cf4c62b807741c6beeab6b8ba4 100644 (file)
@@ -1426,8 +1426,6 @@ static int i596_close(struct net_device *dev)
        free_irq(dev->irq, dev);
        remove_rx_bufs(dev);
 
-       MOD_DEC_USE_COUNT;
-
        return 0;
 }