git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
net
/
ppp_synctty.c
diff --git
a/drivers/net/ppp_synctty.c
b/drivers/net/ppp_synctty.c
index
a8f8908
..
f2c7335
100644
(file)
--- a/
drivers/net/ppp_synctty.c
+++ b/
drivers/net/ppp_synctty.c
@@
-259,7
+259,7
@@
ppp_sync_close(struct tty_struct *tty)
write_lock_irq(&disc_data_lock);
ap = tty->disc_data;
write_lock_irq(&disc_data_lock);
ap = tty->disc_data;
- tty->disc_data =
NULL
;
+ tty->disc_data =
0
;
write_unlock_irq(&disc_data_lock);
if (ap == 0)
return;
write_unlock_irq(&disc_data_lock);
if (ap == 0)
return;
@@
-656,7
+656,7
@@
ppp_sync_push(struct syncppp *ap)
tty_stuffed = 1;
} else {
kfree_skb(ap->tpkt);
tty_stuffed = 1;
} else {
kfree_skb(ap->tpkt);
- ap->tpkt =
NULL
;
+ ap->tpkt =
0
;
clear_bit(XMIT_FULL, &ap->xmit_flags);
done = 1;
}
clear_bit(XMIT_FULL, &ap->xmit_flags);
done = 1;
}
@@
-675,7
+675,7
@@
ppp_sync_push(struct syncppp *ap)
flush:
if (ap->tpkt != 0) {
kfree_skb(ap->tpkt);
flush:
if (ap->tpkt != 0) {
kfree_skb(ap->tpkt);
- ap->tpkt =
NULL
;
+ ap->tpkt =
0
;
clear_bit(XMIT_FULL, &ap->xmit_flags);
done = 1;
}
clear_bit(XMIT_FULL, &ap->xmit_flags);
done = 1;
}
@@
-695,7
+695,7
@@
ppp_sync_flush_output(struct syncppp *ap)
spin_lock_bh(&ap->xmit_lock);
if (ap->tpkt != NULL) {
kfree_skb(ap->tpkt);
spin_lock_bh(&ap->xmit_lock);
if (ap->tpkt != NULL) {
kfree_skb(ap->tpkt);
- ap->tpkt =
NULL
;
+ ap->tpkt =
0
;
clear_bit(XMIT_FULL, &ap->xmit_flags);
done = 1;
}
clear_bit(XMIT_FULL, &ap->xmit_flags);
done = 1;
}