From patchwork Fri Aug 7 00:02:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 6963641 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BFFC29F39D for ; Fri, 7 Aug 2015 00:02:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0960206F6 for ; Fri, 7 Aug 2015 00:02:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B565E206EF for ; Fri, 7 Aug 2015 00:02:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753259AbbHGACZ (ORCPT ); Thu, 6 Aug 2015 20:02:25 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:33942 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752822AbbHGACY (ORCPT ); Thu, 6 Aug 2015 20:02:24 -0400 Received: by pdber20 with SMTP id er20so37830919pdb.1 for ; Thu, 06 Aug 2015 17:02:23 -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=6DodqefCOsC1V+yyfIIw8RLa1fUDS0WHmYK5XCqd3CE=; b=W7VVCnTi+ba1RbkZ4ELtH7G7mOGLIJEb4LJQHXxFiR2dl9QOPb3XELg0Fdzu4ph2oc A2Bfb/XC7a1HBUtNnBOa/+avU762k3bTKJy34NbXmQ9j+zwEfn5oy8mEOTL3BR0sfV0x N4CXXbEIRQL6XtLHxLY/ZfkePhSRIfGYCtRQUyus0a3OAoP2bj2lbZCk4tRDedUj1xaG Oyjk+27tB+/MWuHF3OgNuOcOfh1GqtFuSBhalPgQjqNx6X4tM/bAhBYLLeA/8SzMeNFq H7KWS6/LKM8pUkLPZXR+Tg7WCLJkPq+6cimzHUYFsrwcTO2nu7WA+foHw+8H2a5DqoYB +/vg== X-Received: by 10.70.8.33 with SMTP id o1mr8470961pda.88.1438905743700; Thu, 06 Aug 2015 17:02:23 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id kw10sm7785231pbc.83.2015.08.06.17.02.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Aug 2015 17:02:23 -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, devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, Chaehyun Lim Subject: [PATCH 2/4] staging: wilc1000: remove WILC_memset function Date: Fri, 7 Aug 2015 09:02:02 +0900 Message-Id: <1438905724-26810-2-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438905724-26810-1-git-send-email-chaehyun.lim@gmail.com> References: <1438905724-26810-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.9 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_memset function because it is changed to memset. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_strutils.c | 9 --------- drivers/staging/wilc1000/wilc_strutils.h | 12 ------------ 2 files changed, 21 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_strutils.c b/drivers/staging/wilc1000/wilc_strutils.c index e014595..c15375e 100644 --- a/drivers/staging/wilc1000/wilc_strutils.c +++ b/drivers/staging/wilc1000/wilc_strutils.c @@ -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 diff --git a/drivers/staging/wilc1000/wilc_strutils.h b/drivers/staging/wilc1000/wilc_strutils.h index d144557..acc0ca4 100644 --- a/drivers/staging/wilc1000/wilc_strutils.h +++ b/drivers/staging/wilc1000/wilc_strutils.h @@ -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