[Please don't top-post.] On Thu, Nov 13, 2014 at 11:23:46PM +0100, Pieter Smith wrote: > Okay with moving the relevant functions to a new translation unit and > squashing it out in the Makefile
No, you don't need to do that either. Mark pipe_to_null and splice_write_null as __maybe_unused, then wrap the initialization of .splice_write = splice_write_null to make it .splice_write = splice_p(splice_write_null). That will avoid adding a single ifdef. - Josh Triplett -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

