From: Geert Uytterhoeven Date: Mon, 28 Oct 2013 12:16:05 +0000 (-0300) Subject: [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning X-Git-Tag: v3.14-rc1~20^2~421 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6f8e5575511967a94c917c8934503253ebf6d5b;p=pandora-kernel.git [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning If SHARK_USE_LEDS=1, but CONFIG_PM=n: drivers/media/radio/radio-shark.c:275: warning: ‘shark_resume_leds’ defined but not used Instead of making the #ifdef logic even more complicated (there are already two definitions of shark_resume_leds()), mark shark_resume_leds() inline to kill the compiler warning. shark_resume_leds() is small and it has only one caller. Signed-off-by: Geert Uytterhoeven Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed