aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/mxser_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/mxser_new.c')
-rw-r--r--drivers/char/mxser_new.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index d385e791068b..13b9072a7729 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -313,7 +313,6 @@ static int mxvar_diagflag;
313static unsigned char mxser_msr[MXSER_PORTS + 1]; 313static unsigned char mxser_msr[MXSER_PORTS + 1];
314static struct mxser_mon_ext mon_data_ext; 314static struct mxser_mon_ext mon_data_ext;
315static int mxser_set_baud_method[MXSER_PORTS + 1]; 315static int mxser_set_baud_method[MXSER_PORTS + 1];
316static spinlock_t gm_lock;
317 316
318#ifdef CONFIG_PCI 317#ifdef CONFIG_PCI
319static int __devinit CheckIsMoxaMust(int io) 318static int __devinit CheckIsMoxaMust(int io)
@@ -1377,7 +1376,6 @@ static int __init mxser_program_mode(int port)
1377{ 1376{
1378 int id, i, j, n; 1377 int id, i, j, n;
1379 1378
1380 spin_lock(&gm_lock);
1381 outb(0, port); 1379 outb(0, port);
1382 outb(0, port); 1380 outb(0, port);
1383 outb(0, port); 1381 outb(0, port);
@@ -1385,7 +1383,6 @@ static int __init mxser_program_mode(int port)
1385 (void)inb(port); 1383 (void)inb(port);
1386 outb(0, port); 1384 outb(0, port);
1387 (void)inb(port); 1385 (void)inb(port);
1388 spin_unlock(&gm_lock);
1389 1386
1390 id = inb(port + 1) & 0x1F; 1387 id = inb(port + 1) & 0x1F;
1391 if ((id != C168_ASIC_ID) && 1388 if ((id != C168_ASIC_ID) &&
@@ -2684,7 +2681,6 @@ static int __init mxser_module_init(void)
2684 mxvar_sdriver = alloc_tty_driver(MXSER_PORTS + 1); 2681 mxvar_sdriver = alloc_tty_driver(MXSER_PORTS + 1);
2685 if (!mxvar_sdriver) 2682 if (!mxvar_sdriver)
2686 return -ENOMEM; 2683 return -ENOMEM;
2687 spin_lock_init(&gm_lock);
2688 2684
2689 printk(KERN_INFO "MOXA Smartio/Industio family driver version %s\n", 2685 printk(KERN_INFO "MOXA Smartio/Industio family driver version %s\n",
2690 MXSER_VERSION); 2686 MXSER_VERSION);