staging: wilc1000: remove WILC_strncpy function
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 10 Aug 2015 02:33:16 +0000 (11:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:39:52 +0000 (18:39 -0700)
Remove WILC_strncpy function that is changed to strncpy.

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 205a06a5a11664a0292d25db6b7e900bcb155a81..337e62ff3c790ae48415b14004f23a606c578a9a 100644 (file)
@@ -17,16 +17,6 @@ void WILC_memcpy_INTERNAL(void *pvTarget, const void *pvSource, u32 u32Count)
 }
 
 
-/*!
- *  @author    syounan
- *  @date      18 Aug 2010
- *  @version   1.0
- */
-char *WILC_strncpy(char *pcTarget, const char *pcSource,
-                       u32 u32Count)
-{
-       return strncpy(pcTarget, pcSource, u32Count);
-}
 
 s32 WILC_strncmp(const char *pcStr1, const char *pcStr2,
                         u32 u32Count)
index 7c38e14fc3971a42644417f9ff17b5d5cf1b5077..86728d203f7108352fbfa5efb3bf161dd11916d6 100644 (file)
@@ -59,20 +59,6 @@ static WILC_ErrNo WILC_memcpy(void *pvTarget, const void *pvSource, u32 u32Count
 }
 
 
-/*!
- *  @brief     copies the contents of source string into the target string
- *  @param[in] pcTarget the target string buffer
- *  @param[in] pcSource the source string the will be copied
- *  @param[in] u32Count copying will proceed until a null character in pcSource
- *              is encountered or u32Count of bytes copied
- *  @return    value of pcTarget
- *  @note      this function repeats the functionality of standard strncpy
- *  @author    syounan
- *  @date      18 Aug 2010
- *  @version   1.0
- */
-char *WILC_strncpy(char *pcTarget, const char *pcSource,
-                       u32 u32Count);
 
 /*!
  *  @brief     Compares two strings up to u32Count characters
This page took 0.025509 seconds and 5 git commands to generate.