OSDN Git Service

mt7621-mmc: return statement in void function unnecessary
authorJona Crasselt <jona.crasselt@fau.de>
Wed, 19 Dec 2018 16:07:04 +0000 (17:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Dec 2018 15:32:13 +0000 (16:32 +0100)
Issue reported by checkpatch.pl.

Signed-off-by: Jona Crasselt <jona.crasselt@fau.de>
Signed-off-by: Felix Windsheimer <felix.windsheimer@fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c

index 607f25c..001171f 100644 (file)
@@ -1170,8 +1170,6 @@ static void msdc_ops_request(struct mmc_host *mmc, struct mmc_request *mrq)
        spin_unlock(&host->lock);
 
        mmc_request_done(mmc, mrq);
-
-       return;
 }
 
 /* called by ops.set_ios */