]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
m68knommu: qspi declutter.
authorSteven King <sfking@fdwdc.com>
Wed, 14 May 2014 17:07:55 +0000 (10:07 -0700)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 26 May 2014 03:28:37 +0000 (13:28 +1000)
commit151d14f4ac5a02cc059cb05b2a2f27ec5b9d6831
tree07b6a7e045ccef506f6034677aeecb23eb28a88f
parente93e91f2255fce33727d5f618cb16885fd157291
m68knommu: qspi declutter.

Move the check for the QSPI config option inside the function body.  If the
option is not enabled, the compiler will optimize away the empty function
body so we can remove the other check for the config option.

Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/coldfire/m520x.c
arch/m68k/platform/coldfire/m523x.c
arch/m68k/platform/coldfire/m5249.c
arch/m68k/platform/coldfire/m527x.c
arch/m68k/platform/coldfire/m528x.c
arch/m68k/platform/coldfire/m53xx.c