From: Chaehyun Lim Date: Mon, 10 Aug 2015 02:33:14 +0000 (+0900) Subject: staging: wilc1000: remove WILC_strlen function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1799cb6188beeff1b36c8968f942e9a15759b773;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wilc1000: remove WILC_strlen function Remove WILC_strlen function that is changed to strlen. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_strutils.c b/drivers/staging/wilc1000/wilc_strutils.c index a32b9c13e872..205a06a5a116 100644 --- a/drivers/staging/wilc1000/wilc_strutils.c +++ b/drivers/staging/wilc1000/wilc_strutils.c @@ -50,12 +50,3 @@ s32 WILC_strncmp(const char *pcStr1, const char *pcStr2, return s32Result; } -/*! - * @author syounan - * @date 18 Aug 2010 - * @version 1.0 - */ -u32 WILC_strlen(const char *pcStr) -{ - return (u32)strlen(pcStr); -} diff --git a/drivers/staging/wilc1000/wilc_strutils.h b/drivers/staging/wilc1000/wilc_strutils.h index 9e3c5d9c5001..7c38e14fc397 100644 --- a/drivers/staging/wilc1000/wilc_strutils.h +++ b/drivers/staging/wilc1000/wilc_strutils.h @@ -95,15 +95,5 @@ char *WILC_strncpy(char *pcTarget, const char *pcSource, s32 WILC_strncmp(const char *pcStr1, const char *pcStr2, u32 u32Count); -/*! - * @brief gets the length of a string - * @param[in] pcStr the string - * @return the length - * @note this function repeats the functionality of standard strlen - * @author syounan - * @date 18 Aug 2010 - * @version 1.0 - */ -u32 WILC_strlen(const char *pcStr); #endif