diff options
Diffstat (limited to 'drivers/char/mxser_new.c')
-rw-r--r-- | drivers/char/mxser_new.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c index 4c805496fb36..1c8e00c4caad 100644 --- a/drivers/char/mxser_new.c +++ b/drivers/char/mxser_new.c | |||
@@ -927,9 +927,6 @@ static int mxser_open(struct tty_struct *tty, struct file *filp) | |||
927 | struct mxser_port *info; | 927 | struct mxser_port *info; |
928 | int retval, line; | 928 | int retval, line; |
929 | 929 | ||
930 | /* initialize driver_data in case something fails */ | ||
931 | tty->driver_data = NULL; | ||
932 | |||
933 | line = tty->index; | 930 | line = tty->index; |
934 | if (line == MXSER_PORTS) | 931 | if (line == MXSER_PORTS) |
935 | return 0; | 932 | return 0; |