From: Tapasweni Pathak Date: Fri, 26 Sep 2014 15:15:29 +0000 (+0530) Subject: staging: rts5208: Remove unncessary return in function returning void X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=057c780369cbfb7cf6e3a9a5644025c911297f4f;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rts5208: Remove unncessary return in function returning void This patch fixes checkpatch.pl warning in rtsx.c file. WARNING: void function return statements are not generally useful Signed-off-by: Tapasweni Pathak Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c index a2ea13a475fd..56c84cdb55ba 100644 --- a/drivers/staging/rts5208/rtsx.c +++ b/drivers/staging/rts5208/rtsx.c @@ -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)