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

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

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Acked-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Al Cho <acho@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Javier Martinez Canillas 2011-01-02 23:14:28 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель f3d5049ccd
Коммит 1b9f644dfe
1 изменённых файлов: 0 добавлений и 19 удалений

Просмотреть файл

@ -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)