Re: [PATCH v2] IB/mlx4: silence GCC warning

From: Roland Dreier
Date: Mon Feb 25 2013 - 12:24:13 EST


On Mon, Feb 25, 2013 at 8:54 AM, Roland Dreier <roland@xxxxxxxxxx> wrote:
> I'm finally noticing that this is in the build_mlx_header() function,
> which is pretty much a slow path. Certainly another compare isn't
> going to change performance given all the other stuff we do there.
>
> Let me look at the patches that have gone by and see what the cleanest
> way to handle this is.

OK, after playing around a bit, I see that just initializing vlan
doesn't really change the generated code (my gcc at least was already
if effect setting vlan in the generated assembly code), so I'll just
merge that.

- R.
--
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/