On Sat, 2016-12-31 at 17:03 +0800, Herbert Xu wrote: > On Fri, Dec 30, 2016 at 04:49:28PM -0800, Joe Perches wrote: > > > > Perhaps it'd be better to remove the declaration/prototype > > of crypto_ablkcipher_show and surround the definition of > > crypto_ablkcipher_show with #ifdef CONFIG_PROC_FS / #endif > > No that's stupid. We want to maximise the compiler coverage.
stupid is rather a strong word for the most common technique used in the kernel to avoid compiler warnings.

