[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1353328071-12044-1-git-send-email-gmate.amit@gmail.com>
Date: Mon, 19 Nov 2012 17:57:51 +0530
From: Kumar Amit Mehta <gmate.amit@...il.com>
To: gregkh@...uxfoundation.org
Cc: alan@...rguk.ukuu.org.uk, dan.carpenter@...cle.com,
wfp5p@...ginia.edu, geert@...ux-m68k.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: [PATCH] staging: dgrp: dgrp_tty.c: Remove the TIOCSSOFTCAR ioctl handler from dgrp driver
Remove the TIOCSSOFTCAR ioctl handler from dgrp driver to allow the core tty
layer to take care of this ioctl instead.
Signed-off-by: Kumar Amit Mehta <gmate.amit@...il.com>
---
drivers/staging/dgrp/dgrp_tty.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/staging/dgrp/dgrp_tty.c b/drivers/staging/dgrp/dgrp_tty.c
index e125b03..b46f56f 100644
--- a/drivers/staging/dgrp/dgrp_tty.c
+++ b/drivers/staging/dgrp/dgrp_tty.c
@@ -2623,13 +2623,6 @@ static int dgrp_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
put_user(C_CLOCAL(tty) ? 1 : 0, (unsigned long __user *) arg);
return 0;
- case TIOCSSOFTCAR:
- get_user(arg, (unsigned long __user *) arg);
- tty->termios.c_cflag =
- ((tty->termios.c_cflag & ~CLOCAL) |
- (arg ? CLOCAL : 0));
- return 0;
-
case TIOCMGET:
rc = access_ok(VERIFY_WRITE, (void __user *) arg,
sizeof(unsigned int));
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists