projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1713eaf
)
staging: silicom: remove parentheses from return statements in bg_proc.c
author
Chad Williamson
<chad@dahc.us>
Mon, 15 Oct 2012 10:30:37 +0000
(
05:30
-0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 22:47:53 +0000
(15:47 -0700)
Remove unnecessary parentheses from return statements in bg_proc.c to
resolve checkpatch.pl errors.
Signed-off-by: Chad Williamson <chad@dahc.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bp_proc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/silicom/bp_proc.c
b/drivers/staging/silicom/bp_proc.c
index 4599cc930f657f4e79b8fa74c7feced108524a09..aa084ef279ee5f1f49d159cf9e76e342e3df83f2 100644
(file)
--- a/
drivers/staging/silicom/bp_proc.c
+++ b/
drivers/staging/silicom/bp_proc.c
@@
-87,10
+87,10
@@
static struct proc_dir_entry *proc_getdir(char *name,
/* create the directory */
pde = create_proc_entry(name, S_IFDIR, proc_dir);
if (pde == (struct proc_dir_entry *)0) {
- return
(pde)
;
+ return
pde
;
}
}
- return
(pde)
;
+ return
pde
;
}
#ifdef BYPASS_SUPPORT