From: Brian Norris Date: Fri, 11 Oct 2013 17:37:38 +0000 (-0700) Subject: powerpc/mpc512x: remove unnecessary #if X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~19^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e198197ec878c720af4dc35c49c0c6a99b83f9f;p=pandora-kernel.git powerpc/mpc512x: remove unnecessary #if Several functions are only ever referenced locally, so make them static. Of those functions, many of them are protected by an #if. However, the code which can compile fine in either case. Now that (1) the unneeded code is marked 'static' and (2) the code is only used under a C 'if (IS_ENABLED(CONFIG_FB_FSL_DIU))', the compiler can automatically remove the unneeded code, and we don't need the #if or the empty stub functions. Signed-off-by: Brian Norris Signed-off-by: Anatolij Gustschin --- Reading git-diff-tree failed