]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
staging: rts5208: fix Lines should not end with a '('.
authorSamuel Sjöberg <info@samuelsjoberg.se>
Wed, 2 Mar 2022 15:03:28 +0000 (16:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2022 15:34:24 +0000 (16:34 +0100)
Fix the following check reported by checkpatch.pl:

CHECK: Lines should not end with a '('
                                        retval = ms_transfer_tpc(

Signed-off-by: Samuel Sjöberg <info@samuelsjoberg.se>
Link: https://lore.kernel.org/r/20220302150328.2722-1-info@samuelsjoberg.se
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/ms.c

index 2a6fab5c117ad5b9b52678ed1100a198dc80dc2b..14449f8afad53a3f6c1caa5b4bf4115c5d7e95e9 100644 (file)
@@ -1749,11 +1749,10 @@ static int ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk,
 
                                for (rty_cnt = 0; rty_cnt < MS_MAX_RETRY_COUNT;
                                     rty_cnt++) {
-                                       retval = ms_transfer_tpc(
-                                               chip,
-                                               MS_TM_NORMAL_WRITE,
-                                               WRITE_PAGE_DATA,
-                                               0, NO_WAIT_INT);
+                                       retval = ms_transfer_tpc(chip,
+                                                                MS_TM_NORMAL_WRITE,
+                                                                WRITE_PAGE_DATA,
+                                                                0, NO_WAIT_INT);
                                        if (retval == STATUS_SUCCESS)
                                                break;
                                }