OSDN Git Service

Staging: keucr: Move the declaration of variable ErrCode in smilmain.c
authorRashika Kheria <rashika.kheria@gmail.com>
Mon, 11 Nov 2013 15:09:34 +0000 (20:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Nov 2013 23:42:37 +0000 (15:42 -0800)
commit665fba0e1d28df9f2f4659991063e90040d62917
tree8b5afa16f3d309ce4106efc5ca60667795aa7724
parent52fdda40f65422d6e88df599169607f442c36267
Staging: keucr: Move the declaration of variable ErrCode in smilmain.c

This patch moves the declaration of variable ErrCode to file smilmain.c
since this is the only file which uses it. Hence, it also removes extern
declaration from the header file smil.h.

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/keucr/smil.h
drivers/staging/keucr/smilmain.c