Commit ed5054b6 authored by Chad Williamson's avatar Chad Williamson Committed by Greg Kroah-Hartman

staging: silicom: remove parentheses from return statements in bg_proc.c

Remove unnecessary parentheses from return statements in bg_proc.c to
resolve checkpatch.pl errors.
Signed-off-by: default avatarChad Williamson <chad@dahc.us>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1713eaf7
...@@ -87,10 +87,10 @@ static struct proc_dir_entry *proc_getdir(char *name, ...@@ -87,10 +87,10 @@ static struct proc_dir_entry *proc_getdir(char *name,
/* create the directory */ /* create the directory */
pde = create_proc_entry(name, S_IFDIR, proc_dir); pde = create_proc_entry(name, S_IFDIR, proc_dir);
if (pde == (struct proc_dir_entry *)0) { if (pde == (struct proc_dir_entry *)0) {
return (pde); return pde;
} }
} }
return (pde); return pde;
} }
#ifdef BYPASS_SUPPORT #ifdef BYPASS_SUPPORT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment