Skip to content

Commit

Permalink
staging: keucr: Delete StringCmp() and StringCopy custom functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Javier Martinez Canillas authored and Greg Kroah-Hartman committed Jan 21, 2011
1 parent f3d5049 commit 1b9f644
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions drivers/staging/keucr/smilsub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b9f644

Please sign in to comment.