diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-06-09 20:22:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 14:35:33 -0700 |
commit | 6c4b7f70ba5ffb7fa1d19d2518664ea6ddb3cbf3 (patch) | |
tree | 8ba957a75adab9632a5b30346f0282fcf92a1288 /drivers/usb/atm/usbatm.c | |
parent | ba297edde4dd7376832bafb23e032a40d5928b56 (diff) | |
download | linux-3.10-6c4b7f70ba5ffb7fa1d19d2518664ea6ddb3cbf3.tar.gz linux-3.10-6c4b7f70ba5ffb7fa1d19d2518664ea6ddb3cbf3.tar.bz2 linux-3.10-6c4b7f70ba5ffb7fa1d19d2518664ea6ddb3cbf3.zip |
USB: speedtouch: fixed brace and spacing coding style issues
Fixed brace coding style issues.
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm/usbatm.c')
-rw-r--r-- | drivers/usb/atm/usbatm.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index 9b53e8df464..a67166e5f67 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c @@ -273,8 +273,7 @@ static void usbatm_complete(struct urb *urb) if (unlikely(status) && (!(channel->usbatm->flags & UDSL_IGNORE_EILSEQ) || - status != -EILSEQ )) - { + status != -EILSEQ )) { if (status == -ESHUTDOWN) return; @@ -516,8 +515,7 @@ static unsigned int usbatm_write_cells(struct usbatm_data *instance, target[3] |= 0x2; /* adjust PTI */ ctrl->len = 0; /* tag this skb finished */ - } - else + } else ctrl->crc = crc32_be(ctrl->crc, ptr, left); } @@ -1390,9 +1388,8 @@ static int usbatm_print_packet(const unsigned char *data, int len) for (i = 0; i < len;) { buffer[0] = '\0'; sprintf(buffer, "%.3d :", i); - for (j = 0; (j < 16) && (i < len); j++, i++) { + for (j = 0; (j < 16) && (i < len); j++, i++) sprintf(buffer, "%s %2.2x", buffer, data[i]); - } dbg("%s", buffer); } return i; |