Commit 535c170a authored by David Gibson's avatar David Gibson Committed by Linus Torvalds

[PATCH] Squash warnings in usb-serial.c

This squashes (gcc-3.2) "label and end of compound statement
deprecated" warnings in usb-serial.c.
parent e6f46861
......@@ -634,6 +634,7 @@ static void serial_throttle (struct tty_struct * tty)
serial->type->throttle(port);
exit:
;
}
static void serial_unthrottle (struct tty_struct * tty)
......@@ -656,6 +657,7 @@ static void serial_unthrottle (struct tty_struct * tty)
serial->type->unthrottle(port);
exit:
;
}
static int serial_ioctl (struct tty_struct *tty, struct file * file, unsigned int cmd, unsigned long arg)
......@@ -704,6 +706,7 @@ static void serial_set_termios (struct tty_struct *tty, struct termios * old)
serial->type->set_termios(port, old);
exit:
;
}
static void serial_break (struct tty_struct *tty, int break_state)
......@@ -726,6 +729,7 @@ static void serial_break (struct tty_struct *tty, int break_state)
serial->type->break_ctl(port, break_state);
exit:
;
}
static void serial_shutdown (struct usb_serial *serial)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment