projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c97fbb
)
staging: rts5208: Remove unncessary return in function returning void
author
Tapasweni Pathak
<
[email protected]
>
Fri, 26 Sep 2014 15:15:29 +0000
(20:45 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rts5208/rtsx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rts5208/rtsx.c
b/drivers/staging/rts5208/rtsx.c
index a2ea13a475fdb3d6d0aa7da9d208e0880d5a80b1..56c84cdb55baba4fd41af0a2bc612b00033362e2 100644
(file)
--- 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)