Staging: rts5208: rtsx_transport.c: Remove extra newlines
authorShaun Ren <shaun.ren@linux.com>
Mon, 15 Feb 2016 18:58:51 +0000 (10:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:35:42 +0000 (15:35 -0800)
This patch fixes the following issues in rtsx_transport.c as reported by
checkpatch.pl:

CHECK: Blank lines aren't necessary after an open brace '{'
CHECK: Please don't use multiple blank lines

Signed-off-by: Shaun Ren <shaun.ren@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_transport.c

index 6d2420f2ec29adf20ede838a4c5ae4424a38792c..00401e2a42d3f93bcdcea564cb9bdb29efe4f9b9 100644 (file)
@@ -91,12 +91,10 @@ unsigned int rtsx_stor_access_xfer_buf(unsigned char *buffer,
                        unsigned int sglen = sg->length - *offset;
 
                        if (sglen > buflen - cnt) {
-
                                /* Transfer ends within this s-g entry */
                                sglen = buflen - cnt;
                                *offset += sglen;
                        } else {
-
                                /* Transfer continues to next s-g entry */
                                *offset = 0;
                                ++*index;
@@ -153,7 +151,6 @@ void rtsx_stor_get_xfer_buf(unsigned char *buffer,
                scsi_set_resid(srb, scsi_bufflen(srb) - buflen);
 }
 
-
 /***********************************************************************
  * Transport routines
  ***********************************************************************/