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

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

Staging: keucr: Move the declaration of variable IsXDCompliance in smilsub.c



This patch moves the declaration of variable IsXDCompliance 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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 91c954dd
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -189,8 +189,6 @@ struct keucr_media_area {
	WORD PhyBlock;	/* Physical Block Number on Zone 0 */
};

extern BYTE IsXDCompliance;

extern WORD	ReadBlock;
extern WORD	WriteBlock;
extern DWORD	MediaChange;
+0 −3
Original line number Diff line number Diff line
@@ -44,9 +44,6 @@ static BYTE BitData[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 };
#define Clr_D_Bit(a, b)    (a[(BYTE)((b) / 8)] &= ~BitData[(b) % 8])
#define Chk_D_Bit(a, b)    (a[(BYTE)((b) / 8)] & BitData[(b) % 8])

BYTE     IsXDCompliance;


/* ----- SM_FreeMem() ------------------------------------------------- */
int SM_FreeMem(void)
{
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
static BYTE   _Check_D_DevCode(BYTE);
static DWORD	ErrXDCode;
static BYTE	IsSSFDCCompliance;
static BYTE	IsXDCompliance;

struct keucr_media_info         Ssfdc;
struct keucr_media_address      Media;