staging: silicom: remove parentheses from return statements in bg_proc.c
authorChad Williamson <chad@dahc.us>
Mon, 15 Oct 2012 10:30:37 +0000 (05:30 -0500)
committerGreg 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

index 4599cc930f657f4e79b8fa74c7feced108524a09..aa084ef279ee5f1f49d159cf9e76e342e3df83f2 100644 (file)
@@ -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