From patchwork Fri Aug 7 00:02:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 6963671 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 1F63CC05AD for ; Fri, 7 Aug 2015 00:02:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3124220390 for ; Fri, 7 Aug 2015 00:02:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 55FB0206DF for ; Fri, 7 Aug 2015 00:02:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753880AbbHGACa (ORCPT ); Thu, 6 Aug 2015 20:02:30 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35645 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753662AbbHGAC3 (ORCPT ); Thu, 6 Aug 2015 20:02:29 -0400 Received: by pabxd6 with SMTP id xd6so55739259pab.2 for ; Thu, 06 Aug 2015 17:02:29 -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=JsG48DKdXFSFgCSZIrQTddxdYmhe4XjK3SYrTUZq15w=; b=Z9YkaIZmced3epYiOlTamrsvWyLhcxTPe7qBxCb4pMLWcjTeRU9F/3OFWYbAcNRd3q F/Ebd6aUkv9jjulPfQ3LIkj0k0nTXa979c5XRS1W6ZaRl1OKCBqmANBlD3QGjq7KasNf IrJhp0WXbDF7MIDlVEq0aPYsm0v0Qz9FnWLqUAQyQaBdqO4hB+UXZ5NDholaDSSNOamj WU1ZV0zEYqyTYBnw1k7y0a9nw5WjXteUTHfSs4WrxqkMU1oDBcI24KYGEk4BxXzFvYwC 3fwW51nbzuwajUevZesr2lhW2Y+fsW27ZIo/J9tf0dvuPm8KBRcRwpmZT9NdlnH+fdCJ 8LOw== X-Received: by 10.66.97.65 with SMTP id dy1mr8561938pab.78.1438905749117; Thu, 06 Aug 2015 17:02:29 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id kw10sm7785231pbc.83.2015.08.06.17.02.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Aug 2015 17:02:28 -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 4/4] staging: wilc1000: remove WILC_memcmp function Date: Fri, 7 Aug 2015 09:02:04 +0900 Message-Id: <1438905724-26810-4-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_memcmp function because it is changed to memcmp. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_strutils.c | 9 --------- drivers/staging/wilc1000/wilc_strutils.h | 13 ------------- 2 files changed, 22 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_strutils.c b/drivers/staging/wilc1000/wilc_strutils.c index c15375e..3600706 100644 --- a/drivers/staging/wilc1000/wilc_strutils.c +++ b/drivers/staging/wilc1000/wilc_strutils.c @@ -4,15 +4,6 @@ #include "wilc_strutils.h" -/*! - * @author syounan - * @date 18 Aug 2010 - * @version 1.0 - */ -s32 WILC_memcmp(const void *pvArg1, const void *pvArg2, u32 u32Count) -{ - return memcmp(pvArg1, pvArg2, u32Count); -} /*! diff --git a/drivers/staging/wilc1000/wilc_strutils.h b/drivers/staging/wilc1000/wilc_strutils.h index acc0ca4..9e3c5d9 100644 --- a/drivers/staging/wilc1000/wilc_strutils.h +++ b/drivers/staging/wilc1000/wilc_strutils.h @@ -14,19 +14,6 @@ #include #include "wilc_errorsupport.h" -/*! - * @brief Compares two memory buffers - * @param[in] pvArg1 pointer to the first memory location - * @param[in] pvArg2 pointer to the second memory location - * @param[in] u32Count the size of the memory buffers - * @return 0 if the 2 buffers are equal, 1 if pvArg1 is bigger than pvArg2, - * -1 if pvArg1 smaller than pvArg2 - * @note this function repeats the functionality of standard memcmp - * @author syounan - * @date 18 Aug 2010 - * @version 1.0 - */ -s32 WILC_memcmp(const void *pvArg1, const void *pvArg2, u32 u32Count); /*! * @brief Internal implementation for memory copy