From: Nathael Pajani Date: Wed, 6 Aug 2014 00:58:51 +0000 (+0200) Subject: Remove comments comming from the linux kernel but irrelevant for us. X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=f96a5529d6d7d77bd1eb5ca1d79cfe3e8c96e2dc;p=soft%2Flpc122x%2Fcore Remove comments comming from the linux kernel but irrelevant for us. --- diff --git a/include/lib/string.h b/include/lib/string.h index 8bf961d..fe2a9f2 100644 --- a/include/lib/string.h +++ b/include/lib/string.h @@ -32,9 +32,6 @@ * @dest: Where to copy to * @src: Where to copy from * @count: The size of the area. - * - * You should not use this function to access IO space, use memcpy_toio() - * or memcpy_fromio() instead. */ void * memcpy(void *dest, const void *src, size_t count); @@ -43,8 +40,6 @@ void * memcpy(void *dest, const void *src, size_t count); * @s: Pointer to the start of the area. * @c: The byte to fill the area with * @count: The size of the area. - * - * Do not use memset() to access IO space, use memset_io() instead. */ void * memset(void * s, int c, size_t count); diff --git a/lib/string.c b/lib/string.c index c72b309..c68bab0 100644 --- a/lib/string.c +++ b/lib/string.c @@ -28,9 +28,6 @@ * @dest: Where to copy to * @src: Where to copy from * @count: The size of the area. - * - * You should not use this function to access IO space, use memcpy_toio() - * or memcpy_fromio() instead. */ void* memcpy(void* dest, const void* src, size_t count) { @@ -47,7 +44,7 @@ void* memcpy(void* dest, const void* src, size_t count) count -= sizeof(*dl); } } - /* copy the reset one byte at a time */ + /* copy the rest one byte at a time */ d8 = (char *)dl; s8 = (char *)sl; while (count--) { @@ -61,8 +58,6 @@ void* memcpy(void* dest, const void* src, size_t count) * @s: Pointer to the start of the area. * @c: The byte to fill the area with * @count: The size of the area. - * - * Do not use memset() to access IO space, use memset_io() instead. */ void* memset(void* s, int c, size_t count) {