Re: [PATCH] drivers: staging: Mark functions as static and removeunused function in bpctl_mod.c

From: Dan Carpenter
Date: Fri Jan 24 2014 - 03:05:21 EST


On Fri, Jan 24, 2014 at 04:14:00AM +0530, Rashika Kheria wrote:
> 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]

Don't do these massive text blocks. Just put one or two of the errors
so we get the idea.

regards,
dan carpenter

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