summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-02 23:14:28 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-21 12:16:53 -0800
commit1b9f644dfeb638e0146ce54f4e48c87a2841a603 (patch)
tree938ad3fe968e24f04ae4d5332bea1cfdb4aa6a5e /drivers
parentf3d5049ccdb57d14712f7cba27b0dd0a860961d7 (diff)
downloadlinux-3.10-1b9f644dfeb638e0146ce54f4e48c87a2841a603.tar.gz
linux-3.10-1b9f644dfeb638e0146ce54f4e48c87a2841a603.tar.bz2
linux-3.10-1b9f644dfeb638e0146ce54f4e48c87a2841a603.zip
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')
-rw-r--r--drivers/staging/keucr/smilsub.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/keucr/smilsub.c b/drivers/staging/keucr/smilsub.c
index 81ed0aa1284..6dbc81de637 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)