[Bridge] [PATCH 9/9] Avoid 'statement with no effect' compiler warnings

Lee Jones lee.jones at linaro.org
Sun Nov 4 07:55:55 UTC 2012


On Sun, 04 Nov 2012, David Miller wrote:

> From: Lee Jones <lee.jones at linaro.org>
> Date: Sat,  3 Nov 2012 23:02:30 +0100
> 
> > Instead of issuing (0) statements when !CONFIG_SYSFS which will cause
> > 'warning: ', we'll use inline statements instead. This will effectively
> > do the same thing, but suppress any unnecessary warnings.
> > 
> > Cc: Stephen Hemminger <shemminger at vyatta.com>
> > Cc: bridge at lists.linux-foundation.org
> > Cc: netdev at vger.kernel.org
> > Signed-off-by: Lee Jones <lee.jones at linaro.org>
> 
> Applied, but please use more informative subject lines.
> 
> You should prefix your subject line after [PATCH ...] with
> the name of the subsystem you are touching, a ": " then
> the headline description.
> 
> So here you would have used "bridge: " and that's what I added when I
> commited this patch.

Yes, of course I should have done, and usually do.

This was an oversight, sorry about that.

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog


More information about the Bridge mailing list