Skip to content

Commit

Permalink
staging: silicom: remove parentheses from return statements in bg_proc.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chad Williamson authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 1713eaf commit ed5054b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/silicom/bp_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed5054b

Please sign in to comment.