]> git.karo-electronics.de Git - linux-beck.git/commit
drivers:staging:silicom Fixed extern warnings reported by checkpatch
authorSurendra Patil <surendra.tux@gmail.com>
Wed, 12 Feb 2014 07:57:22 +0000 (23:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Feb 2014 17:30:42 +0000 (09:30 -0800)
commit4624b5433f063a56032f959e7a6d72d8e6e735b6
tree4e6c77f0aea9d2bcf5fb4608f0d2a52c96e20274
parent74c0da19c4ee842bf2ec880d4cef92858844934d
drivers:staging:silicom Fixed extern warnings reported by checkpatch

1) Deleted  bp_proc_create() declaration from bp_mod.h,
because it is declared as static in bpctl_mod.c and not used anywhere.

2) checkpatch warns about
     WARNING: externs should be avoided in .c files

because we have function declarations in bptcl_mod.c,These
functions are not used anywhere else so made them static.

Signed-off-by: Surendra Patil <surendra.tux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bp_mod.h
drivers/staging/silicom/bpctl_mod.c