sony-laptop - fix using of uninitialized variable
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 10 Jan 2010 08:15:44 +0000 (00:15 -0800)
committerLen Brown <len.brown@intel.com>
Sat, 16 Jan 2010 20:55:43 +0000 (15:55 -0500)
commitc14973f93027500301fc40333e16ae49e58923a7
tree3871ff0541b63a80940516fd6cab2008de0420c9
parent7a0b73a49ab56fb1e836675c00d6d0d2ba39a714
sony-laptop - fix using of uninitialized variable

CC [M]  drivers/platform/x86/sony-laptop.o
drivers/platform/x86/sony-laptop.c: In function 'sony_nc_rfkill_setup':
drivers/platform/x86/sony-laptop.c:1162: warning: 'i' may be used uninitialized in this function

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/sony-laptop.c