projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] tty: trivial kzalloc opportunity
[deliverable/linux.git]
/
drivers
/
net
/
ppp_async.c
diff --git
a/drivers/net/ppp_async.c
b/drivers/net/ppp_async.c
index 23659fd7c3a6bc120c5149eeb4a832e28a8c75b3..933e2f3c77aac7ccb76f7ee226e9db0e1994977c 100644
(file)
--- a/
drivers/net/ppp_async.c
+++ b/
drivers/net/ppp_async.c
@@
-125,8
+125,8
@@
static struct ppp_channel_ops async_ops = {
* way to fix this is to use a rwlock in the tty struct, but for now
* we use a single global rwlock for all ttys in ppp line discipline.
*
* way to fix this is to use a rwlock in the tty struct, but for now
* we use a single global rwlock for all ttys in ppp line discipline.
*
- * FIXME: this is no longer true. The _close path for the ldisc is
- * now guaranteed to be sane.
+ * FIXME: this is no longer true. The _close path for the ldisc is
+ * now guaranteed to be sane.
*/
static DEFINE_RWLOCK(disc_data_lock);
*/
static DEFINE_RWLOCK(disc_data_lock);
@@
-277,7
+277,7
@@
ppp_asynctty_write(struct tty_struct *tty, struct file *file,
* Called in process context only. May be re-entered by multiple
* ioctl calling threads.
*/
* Called in process context only. May be re-entered by multiple
* ioctl calling threads.
*/
-
+
static int
ppp_asynctty_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg)
static int
ppp_asynctty_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg)
This page took
0.0245610000000001 seconds
and
5
git commands to generate.