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

Commit 52fdda40 authored by Rashika Kheria's avatar Rashika Kheria Committed by Greg Kroah-Hartman
Browse files

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: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b596f522
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -193,7 +193,6 @@ struct keucr_media_area {
extern BYTE IsSSFDCCompliance;
extern BYTE IsXDCompliance;

extern DWORD	ErrXDCode;
extern DWORD	ErrCode;
extern WORD	ReadBlock;
extern WORD	WriteBlock;
+0 −1
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ static int Make_D_LogTable(struct us_data *);

static int  MarkFail_D_PhyOneBlock(struct us_data *);

DWORD ErrXDCode;
DWORD ErrCode;
static BYTE  WorkBuf[SECTSIZE];
static BYTE  Redundant[REDTSIZE];
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
#include "smil.h"

static BYTE   _Check_D_DevCode(BYTE);
static DWORD	ErrXDCode;

struct keucr_media_info         Ssfdc;
struct keucr_media_address      Media;