commit | c4d0f8cbca3a97900f85b082064a63c7a5928bd7 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | Tue Apr 29 14:35:39 2008 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri May 02 10:25:58 2008 -0700 |
tree | abfd6996e010cb75962c82fde6fac9fb5eeacc29 | |
parent | e5430f889ce04301152044cce15a4a11a3e21e7d [diff] [blame] |
usb_serial: some coding style fixes Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c index d947d95..ba28fdc 100644 --- a/drivers/usb/serial/ch341.c +++ b/drivers/usb/serial/ch341.c
@@ -130,7 +130,7 @@ return -ENOMEM; r = ch341_control_in(dev, 0x95, 0x0706, 0, buffer, size); - if ( r < 0) + if (r < 0) goto out; /* Not having the datasheet for the CH341, we ignore the bytes returned