diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-02 23:14:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-21 12:16:53 -0800 |
commit | 1b9f644dfeb638e0146ce54f4e48c87a2841a603 (patch) | |
tree | 938ad3fe968e24f04ae4d5332bea1cfdb4aa6a5e /drivers/staging | |
parent | f3d5049ccdb57d14712f7cba27b0dd0a860961d7 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/keucr/smilsub.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/keucr/smilsub.c b/drivers/staging/keucr/smilsub.c index 81ed0aa1284e..6dbc81de637b 100644 --- a/drivers/staging/keucr/smilsub.c +++ b/drivers/staging/keucr/smilsub.c @@ -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) |