From: Christoph Hellwig <hch@lst•de>
To: netdev@oss•sgi.com
Subject: [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in meth
Date: Sun, 22 Feb 2004 20:01:06 +0100 [thread overview]
Message-ID: <20040222190106.GC28350@lst.de> (raw)
--- 1.3/drivers/net/meth.c Sat Jan 10 16:43:38 2004
+++ edited/drivers/net/meth.c Sun Feb 22 20:31:23 2004
@@ -356,8 +356,6 @@
meth_private *priv=dev->priv;
volatile meth_regs *regs=priv->regs;
- MOD_INC_USE_COUNT;
-
/* Start DMA */
regs->dma_ctrl|=
METH_DMA_TX_EN|/*METH_DMA_TX_INT_EN|*/
@@ -380,7 +378,6 @@
~(METH_DMA_TX_EN|METH_DMA_TX_INT_EN|
METH_DMA_RX_EN|METH_DMA_RX_INT_EN);
free_irq(dev->irq, dev);
- MOD_DEC_USE_COUNT;
return 0;
}
reply other threads:[~2004-02-22 19:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040222190106.GC28350@lst.de \
--to=hch@lst$(echo .)de \
--cc=netdev@oss$(echo .)sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox