Skip to contentSkip to conversation

Squash warnings in usb-serial.c

TRIVIAL David Gibson 1 participant 1 message Mar 7, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Linus, please apply:

This squashes (gcc-3.2) "label and end of compound statement deprecated" warnings in usb-serial.c.

drivers/usb/serial/usb-serial.c +4 -0
diff -urN pmac-2.5-pristine/drivers/usb/serial/usb-serial.c linux-2.5-zax/drivers/usb/serial/usb-serial.c
@@ -634,6 +634,7 @@
 		serial->type->throttle(port);
 
 exit:
+	;
 }
 
 static void serial_unthrottle (struct tty_struct * tty)
@@ -656,6 +657,7 @@
 		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 @@
 		serial->type->set_termios(port, old);
 
 exit:
+	;
 }
 
 static void serial_break (struct tty_struct *tty, int break_state)
@@ -726,6 +729,7 @@
 		serial->type->break_ctl(port, break_state);
 
 exit:
+	;
 }
 
 static void serial_shutdown (struct usb_serial *serial)
Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson