From patchwork Mon Aug 17 02:05:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 7022791 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 43BFB9F358 for ; Mon, 17 Aug 2015 02:05:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6CA902062E for ; Mon, 17 Aug 2015 02:05:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 829C52062C for ; Mon, 17 Aug 2015 02:05:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752897AbbHQCF1 (ORCPT ); Sun, 16 Aug 2015 22:05:27 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:33938 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752566AbbHQCF0 (ORCPT ); Sun, 16 Aug 2015 22:05:26 -0400 Received: by pdbfa8 with SMTP id fa8so50080305pdb.1 for ; Sun, 16 Aug 2015 19:05:25 -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=GHPnl1kIqYjaW06pnjxdFBc9X5GtkE6hYI4X4+oayNU=; b=NmypyfOVmPr2nTTc9ocWA7GLD0RLIz3Sun8FFuXcENe8E7PuNNk12OFxP3vJaQnn8H AkPLHYo4IiMKB1Oc5p6YDWvgwQv3zLNY1Qj0tWbFh6gWR6AnorJCz1w1iR4LT2m3SdFK krTEP789+9K98rRklb6NWpuz1cAKKsICsQGBa/iGNDMJnc6/7X9Lzl58ru6K234XfnZW thSOIIctoEu263H1K37Ui9FaVgXnKt0EDnyOOyDL4mad3fzsNdJe0IhR2irjmyoKSVRE MIhBXIxQsI+LArtVRHpIPkQlsjC7fL2qEFpyi+VltYtLhfHGKdJ7v7UIgYT+QB0me6nq LiYw== X-Received: by 10.70.133.170 with SMTP id pd10mr112603289pdb.127.1439777125911; Sun, 16 Aug 2015 19:05:25 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id tt8sm12609611pbc.49.2015.08.16.19.05.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Aug 2015 19:05:25 -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 2/6] staging: wilc1000: remove WILC_NEW and WILC_NEW_EX Date: Mon, 17 Aug 2015 11:05:11 +0900 Message-Id: <1439777115-25861-2-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439777115-25861-1-git-send-email-chaehyun.lim@gmail.com> References: <1439777115-25861-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=-7.5 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 This patch removes WILC_NEW and WILC_NEW_EX defines that are not used anywhere. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_memory.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_memory.h b/drivers/staging/wilc1000/wilc_memory.h index 877617c..f19cec1 100644 --- a/drivers/staging/wilc1000/wilc_memory.h +++ b/drivers/staging/wilc1000/wilc_memory.h @@ -38,8 +38,6 @@ typedef struct { * @sa sttrWILC_MemoryAttrs * @sa WILC_MALLOC * @sa WILC_MALLOC_EX - * @sa WILC_NEW - * @sa WILC_NEW_EX * @author syounan * @date 16 Aug 2010 * @version 1.0 @@ -54,13 +52,6 @@ void *WILC_MemoryAlloc(u32 u32Size, tstrWILC_MemoryAttrs *strAttrs, (WILC_MemoryAlloc( \ (__size__), __attrs__, NULL, 0)) -/*! - * @brief Allocates a block (with custom attributes) of given type and number of - * elements - */ -#define WILC_NEW_EX(__struct_type__, __n_structs__, __attrs__) \ - ((__struct_type__ *)WILC_MALLOC_EX( \ - sizeof(__struct_type__) * (u32)(__n_structs__), __attrs__)) /*! * @brief standrad malloc wrapper with default attributes @@ -71,11 +62,5 @@ void *WILC_MemoryAlloc(u32 u32Size, tstrWILC_MemoryAttrs *strAttrs, -/*! - * @brief Allocates a block (with default attributes) of given type and number of - * elements - */ -#define WILC_NEW(__struct_type__, __n_structs__) \ - WILC_NEW_EX(__struct_type__, __n_structs__, NULL) #endif