From patchwork Mon Aug 10 02:33:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 6979121 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5FE29C05AC for ; Mon, 10 Aug 2015 02:33:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 680472070A for ; Mon, 10 Aug 2015 02:33:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7476A206E6 for ; Mon, 10 Aug 2015 02:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752577AbbHJCds (ORCPT ); Sun, 9 Aug 2015 22:33:48 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:33868 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752505AbbHJCdh (ORCPT ); Sun, 9 Aug 2015 22:33:37 -0400 Received: by pawu10 with SMTP id u10so129137962paw.1 for ; Sun, 09 Aug 2015 19:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=weft2NRbky70Z7pW+VzfKlroTXXXLwso6xi6yyjPohg=; b=jexh+HVL4LT3mF+iVgg3zoy5NN/u6ZDX1dD9El4uf1dfWULZGPzME2Wx1n6mpfKBHZ RU1PJdiNPIff68ne/soJ/xmQq29FagMC7FhNBzlZT/hmIh9rA2xgdhUQJvBLnpm5HLzz VUN/U0BzlTP6/cpG/z2y7OLJzRTkzNzvs/JaqGwAeMuikiIGheulr4U+ii6bAvwYp+S7 VpJxRhd7K5X8UCpZoqMX2IEtHBh0nb6NuqDzQJSjscT8Hug9TkP6iFc3XSz1CjaJwJ/z zVUug8YNI+Rbhm1/SQ2KO25rXStIdu/m/YtdMSlPS579IE8ITGXykeqn5Bd4zvRbXhKA laCw== X-Received: by 10.68.200.72 with SMTP id jq8mr13860018pbc.91.1439174017271; Sun, 09 Aug 2015 19:33:37 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id k10sm17650088pbq.63.2015.08.09.19.33.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 09 Aug 2015 19:33:36 -0700 (PDT) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, rachel.kim@atmel.com, dean.lee@atmel.com, chris.park@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 03/11] staging: wilc1000: remove WILC_strlen function Date: Mon, 10 Aug 2015 11:33:14 +0900 Message-Id: <1439174002-7365-3-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439174002-7365-1-git-send-email-chaehyun.lim@gmail.com> References: <1439174002-7365-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove WILC_strlen function that is changed to strlen. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_strutils.c | 9 --------- drivers/staging/wilc1000/wilc_strutils.h | 10 ---------- 2 files changed, 19 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_strutils.c b/drivers/staging/wilc1000/wilc_strutils.c index a32b9c1..205a06a 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 9e3c5d9..7c38e14 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