diff --git a/drivers/staging/tty/istallion.c b/drivers/staging/tty/istallion.c index 0b266272cccd5f6a6edbab2c79c067adb178e75a..ca18cbf4e3c9f26c1d49cc980d79e59bf8ab08ba 100644 --- a/drivers/staging/tty/istallion.c +++ b/drivers/staging/tty/istallion.c @@ -186,7 +186,6 @@ static struct ktermios stli_deftermios = { * re-used for each stats call. */ static comstats_t stli_comstats; -static combrd_t stli_brdstats; static struct asystats stli_cdkstats; /*****************************************************************************/ @@ -4005,6 +4004,7 @@ static int stli_getbrdstats(combrd_t __user *bp) { struct stlibrd *brdp; unsigned int i; + combrd_t stli_brdstats; if (copy_from_user(&stli_brdstats, bp, sizeof(combrd_t))) return -EFAULT;