On 28 October 2010 20:08, Jonathan Corbet <cor...@lwn.net> wrote:
> This makes every user carry a bit of OLPC-specific code.  But there are
> no non-OLPC users currently, the code is small, and we get rid of some
> #ifdefs, which is always a good thing.  Seems good to me.

I think the compiler might be smart enough to optimize it out.
When CONFIG_OLPC=n, machine_is_olpc() compiles down to a simple "no".
Hopefully that then makes all of that code candidate for dead code
elimination by the compiler.

Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to