projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3d5049
)
staging: keucr: Delete StringCmp() and StringCopy custom functions
author
Javier Martinez Canillas
<
[email protected]
>
Sun, 2 Jan 2011 22:14:28 +0000
(23:14 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 21 Jan 2011 20:16:53 +0000
(12:16 -0800)
staging: keucr: Delete StringCmp() and StringCopy custom functions
Signed-off-by: Javier Martinez Canillas <
[email protected]
>
Acked-by: Dan Carpenter <
[email protected]
>
Reviewed-by: Marcin Slusarz <
[email protected]
>
Cc: Al Cho <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/keucr/smilsub.c
patch
|
blob
|
history
diff --git
a/drivers/staging/keucr/smilsub.c
b/drivers/staging/keucr/smilsub.c
index 81ed0aa1284edacb1fc5b373a7cf72f53d2446d7..6dbc81de637b124ab75908abe40c74c5d9c6654c 100644
(file)
--- 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)