staging: rts5208: remove unnecessary return statement
authorRoxana Blaj <roxanagabriela10@gmail.com>
Sat, 20 Sep 2014 14:21:40 +0000 (17:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Sep 2014 20:22:25 +0000 (13:22 -0700)
This fixes the warning:
WARNING: void function return statements are not generally useful

Signed-off-by: Roxana Blaj <roxanagabriela10@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/ms.c

index 75d2174..4e48324 100644 (file)
@@ -2776,8 +2776,6 @@ void mspro_polling_format_status(struct rtsx_chip *chip)
                                break;
                }
        }
-
-       return;
 }
 
 int mspro_format(struct scsi_cmnd *srb, struct rtsx_chip *chip,