]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: remove WILC_memset function
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 7 Aug 2015 00:02:02 +0000 (09:02 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Aug 2015 22:16:58 +0000 (15:16 -0700)
Remove WILC_memset function because it is changed to memset.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_strutils.c
drivers/staging/wilc1000/wilc_strutils.h

index e0145953ceef279f981b9101919ec679f3c80123..c15375eaef819de14baa780eda88fa08fda917ff 100644 (file)
@@ -25,15 +25,6 @@ void WILC_memcpy_INTERNAL(void *pvTarget, const void *pvSource, u32 u32Count)
        memcpy(pvTarget, pvSource, u32Count);
 }
 
-/*!
- *  @author    syounan
- *  @date      18 Aug 2010
- *  @version   1.0
- */
-void *WILC_memset(void *pvTarget, u8 u8SetValue, u32 u32Count)
-{
-       return memset(pvTarget, u8SetValue, u32Count);
-}
 
 /*!
  *  @author    syounan
index d1445575a25e1008d0f378d4899eafa49a1e5e00..acc0ca4a447d3bc59880250300fec328ea989e16 100644 (file)
@@ -71,18 +71,6 @@ static WILC_ErrNo WILC_memcpy(void *pvTarget, const void *pvSource, u32 u32Count
        }
 }
 
-/*!
- *  @brief     Sets the contents of a memory buffer with the given value
- *  @param[in] pvTarget the target buffer which contsnts will be set
- *  @param[in] u8SetValue the value to be used
- *  @param[in] u32Count the size of the memory buffer
- *  @return    value of pvTarget
- *  @note      this function repeats the functionality of standard memset
- *  @author    syounan
- *  @date      18 Aug 2010
- *  @version   1.0
- */
-void *WILC_memset(void *pvTarget, u8 u8SetValue, u32 u32Count);
 
 /*!
  *  @brief     copies the contents of source string into the target string