Skip to contentSkip to conversation

Remove an unused variable from the (i)Stallion serial drivers

PATCH New David Howells 1 participant 1 message Jul 11, 2008 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove an unused variable from the (i)Stallion serial drivers

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

---

 drivers/char/istallion.c |    1 -
 drivers/char/stallion.c  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
drivers/char/istallion.c +0 -1
index 9e73308..89d56c0 100644
@@ -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;
 
drivers/char/stallion.c +0 -1
index 45aeeea..2eeb9b2 100644
@@ -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;