mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Remove an unused variable from the (i)Stallion serial drivers
@ 2008-07-11 12:48 David Howells
  0 siblings, 0 replies; only message in thread
From: David Howells @ 2008-07-11 12:48 UTC (permalink / raw)
  To: alan, akpm; +Cc: dhowells, linux-kernel

Remove an unused variable from the (intelligent) Stallion serial drivers.

Signed-off-by: David Howells <dhowells@redhat.com>
---

 drivers/char/istallion.c |    1 -
 drivers/char/stallion.c  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)


diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c
index 9e73308..89d56c0 100644
--- a/drivers/char/istallion.c
+++ b/drivers/char/istallion.c
@@ -1660,7 +1660,6 @@ static int stli_ioctl(struct tty_struct *tty, struct file *file, unsigned int cm
 {
 	struct stliport *portp;
 	struct stlibrd *brdp;
-	unsigned int ival;
 	int rc;
 	void __user *argp = (void __user *)arg;
 
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c
index 45aeeea..2eeb9b2 100644
--- a/drivers/char/stallion.c
+++ b/drivers/char/stallion.c
@@ -1255,7 +1255,6 @@ static int stl_tiocmset(struct tty_struct *tty, struct file *file,
 static int stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg)
 {
 	struct stlport	*portp;
-	unsigned int	ival;
 	int		rc;
 	void __user *argp = (void __user *)arg;
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-11 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-11 12:48 [PATCH] Remove an unused variable from the (i)Stallion serial drivers David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®