Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d1c88887 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

ARM: omap1: avoid unused variable warning



The osk_mistral_init() contains code that is only compiled when
CONFIG_PM is set, but it uses a variable that is declared outside
of the #ifdef:

arch/arm/mach-omap1/board-osk.c: In function 'osk_mistral_init':
arch/arm/mach-omap1/board-osk.c:513:7: warning: unused variable 'ret' [-Wunused-variable]

This removes the #ifdef around the user of the variable,
make it always used.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Suggested-by: default avatarTony Lindgren <tony@atomide.com>
Acked-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
parent c1ae3f7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment