drivers: staging: Mark functions as static and remove unused function in bpctl_mod.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 23 Jan 2014 22:44:00 +0000 (04:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:15:48 +0000 (10:15 -0800)
commit19ca44bdc7bf84a324344836367526a436a6e482
tree9befd171bb1fa208b84fec9f52f2583e7baff41a
parent388abdac58ba2d195aadaee27170c1e54943777f
drivers: staging: Mark functions as static and remove unused function in bpctl_mod.c

Mark functions as static in bpctl_mod.c because they are not used
outside this file. Remove unused function from bpctl_mod.c.

This also eliminates the following warnings from bpctl_mod.c:
drivers/staging/silicom/bpctl_mod.c:1507:6: warning: no previous prototype for ‘send_bypass_clear_pulse’ [-Wmissing-prototypes]
drivers/staging/silicom/bpctl_mod.c:1762:5: warning: no previous prototype for ‘cmnd_on’ [-Wmissing-prototypes]
drivers/staging/silicom/bpctl_mod.c:1779:5: warning: no previous prototype for ‘cmnd_off’ [-Wmissing-prototypes]

...

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bpctl_mod.c