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

From: Rashika Kheria
Date: Fri Jan 24 2014 - 03:22:10 EST


On Fri, Jan 24, 2014 at 1:34 PM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> 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.
>

Sure.

Thanks,
--
Rashika Kheria
B.Tech CSE
IIIT Hyderabad
--
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/