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 a2ea13a..56c84cd 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)