OSDN Git Service

Staging: keucr: Move the declaration of variable ErrXDCode in smilsub.c
authorRashika Kheria <rashika.kheria@gmail.com>
Mon, 11 Nov 2013 15:08:20 +0000 (20:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Nov 2013 23:41:36 +0000 (15:41 -0800)
commit52fdda40f65422d6e88df599169607f442c36267
treeffd034a1a9524f627dd9b1911c776758d7c4ba46
parentb596f52209ae6206dc01cd659008d26a5244d092
Staging: keucr: Move the declaration of variable ErrXDCode in smilsub.c

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

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
drivers/staging/keucr/smilsub.c