Remove unnecessary parentheses from return statements in bg_proc.c to
resolve checkpatch.pl errors.

Signed-off-by: Chad Williamson <c...@dahc.us>
---
 drivers/staging/silicom/bp_proc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/silicom/bp_proc.c 
b/drivers/staging/silicom/bp_proc.c
index 4599cc9..aa084ef 100644
--- 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
-- 
1.7.12.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to