Commit 1b9f644d authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Greg Kroah-Hartman

staging: keucr: Delete StringCmp() and StringCopy custom functions

staging: keucr: Delete StringCmp() and StringCopy custom functions
Signed-off-by: default avatarJavier Martinez Canillas <martinez.javier@gmail.com>
Acked-by: default avatarDan Carpenter <error27@gmail.com>
Reviewed-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Cc: Al Cho <acho@novell.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f3d5049c
......@@ -1575,25 +1575,6 @@ char Bit_D_CountWord(WORD cdata)
return((char)bitcount);
}
void StringCopy(char *stringA, char *stringB, int count)
{
int i;
for(i=0; i<count; i++)
*stringA++ = *stringB++;
}
//-----
int StringCmp(char *stringA, char *stringB, int count)
{
int i;
for (i=0;i<count;i++)
if (*stringA++ != *stringB++)
return(ERROR);
return(SUCCESS);
}
/*
//----- SM_ReadBlock() ---------------------------------------------
int SM_ReadBlock(PFDO_DEVICE_EXTENSION fdoExt, BYTE *buf,BYTE *redundant)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment