Browse Source

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: Chad Williamson <chad@dahc.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Chad Williamson 12 years ago
parent
commit
ed5054b6f3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/silicom/bp_proc.c

+ 2 - 2
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