]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rts5208: Remove unncessary return in function returning void
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Fri, 26 Sep 2014 15:15:29 +0000 (20:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:47:54 +0000 (22:47 -0400)
This patch fixes checkpatch.pl warning in rtsx.c file.
WARNING: void function return statements are not generally useful

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.c

index a2ea13a475fdb3d6d0aa7da9d208e0880d5a80b1..56c84cdb55baba4fd41af0a2bc612b00033362e2 100644 (file)
@@ -414,8 +414,6 @@ static void rtsx_shutdown(struct pci_dev *pci)
                pci_disable_msi(pci);
 
        pci_disable_device(pci);
-
-       return;
 }
 
 static int rtsx_control_thread(void *__dev)