Re: [PATCH] e1000: remove unused variables

From: Lino Sanfilippo
Date: Sat Nov 29 2014 - 06:01:35 EST


On 29.11.2014 00:28, Florian Fainelli wrote:

> Also, if you do a read that is not stored in any return value, the
> compiler is now free to remove that actual read,

This does not apply to reads from iomem (see "volatile" specifier in
readl()).

Regards,
Lino

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