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

From: David Howells
Date: Fri Jul 11 2008 - 08:48:48 EST


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

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

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;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/