summaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/pi2.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /drivers/net/hamradio/pi2.c
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'drivers/net/hamradio/pi2.c')
-rw-r--r--drivers/net/hamradio/pi2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/hamradio/pi2.c b/drivers/net/hamradio/pi2.c
index 3eb3a9223..8de325175 100644
--- a/drivers/net/hamradio/pi2.c
+++ b/drivers/net/hamradio/pi2.c
@@ -408,7 +408,7 @@ static void a_exint(struct pi_local *lp)
}
switch (lp->tstate) {
case ACTIVE:
- kfree_skb(lp->sndbuf, FREE_WRITE);
+ kfree_skb(lp->sndbuf);
lp->sndbuf = NULL;
lp->tstate = FLAGOUT;
tdelay(lp, lp->squeldelay);
@@ -726,7 +726,7 @@ static void b_txint(struct pi_local *lp)
/* stuffing a char satisfies Interrupt condition */
} else {
/* No more to send */
- kfree_skb(lp->sndbuf, FREE_WRITE);
+ kfree_skb(lp->sndbuf);
lp->sndbuf = NULL;
if ((rdscc(lp->cardbase, cmd, R0) & 0x40)) {
/* Did we underrun? */
@@ -778,7 +778,7 @@ static void b_exint(struct pi_local *lp)
switch (lp->tstate) {
case ACTIVE: /* Unexpected underrun */
- kfree_skb(lp->sndbuf, FREE_WRITE);
+ kfree_skb(lp->sndbuf);
lp->sndbuf = NULL;
wrtscc(lp->cardbase, cmd, R0, SEND_ABORT);
lp->tstate = FLAGOUT;
@@ -1553,7 +1553,7 @@ static int pi_close(struct device *dev)
/* Free any buffers left in the hardware transmit queue */
while ((ptr = skb_dequeue(&lp->sndq)) != NULL)
- kfree_skb(ptr, FREE_WRITE);
+ kfree_skb(ptr);
restore_flags(flags);