From patchwork Wed May 10 20:45:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iyappan Subramanian X-Patchwork-Id: 9720661 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ADC3160364 for ; Wed, 10 May 2017 20:43:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C405128634 for ; Wed, 10 May 2017 20:43:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8BEA28646; Wed, 10 May 2017 20:43:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4D7BE28634 for ; Wed, 10 May 2017 20:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=sGG/HWWNyEoqF9n6Z55IKyPrpdW15nbS2umi9XuGwQI=; b=YnnlnibOjE/9O7IX5HDodMW2iX C5/hW/4vMTrIDSOMy7PmI1H3Lv9E6PGCOOXAv3DRry4e5c2WF0TgO0Iux0juNLkDtTUonS2Yyh8uM zOR10DnfdFNgU9eusenVIyOE5O2COpwLPxX/7heOVMn9+U/rhp4Ymm35wmrf/1rbbkq2VL2qQB3/o uUtjXATBPanmQkIjXO/u9vNzSChzXjt4ib2CQpNL+KJ2gvrGhG88Teo2gMYLyY10lIr5MtVu8b8iX s0nqhdDGLPurWhYsV18pN+78VA3PIhpNt36QIv01WH149m2U+8+IKulfXJaN+4aAeFUKwdHkdF3j8 Xt4fulWw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d8YSa-0002my-BW; Wed, 10 May 2017 20:43:48 +0000 Received: from mail-io0-x22a.google.com ([2607:f8b0:4001:c06::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d8YRc-0001NT-C5 for linux-arm-kernel@lists.infradead.org; Wed, 10 May 2017 20:42:52 +0000 Received: by mail-io0-x22a.google.com with SMTP id f102so9426151ioi.2 for ; Wed, 10 May 2017 13:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Aj1HWIzBEmL0/VWYADqy4dsU1vL8mcuS8NRXZv98pdE=; b=sMx6N1riUESyxGqvTwAyB0fG77hqCjEkulgwocnbZV4PB4kSSAeNz2dSj21FWVbkdm X21aaRaxD7BIRHkwxEn4gNsGrDFaw2Qkj1jpaLUGnz13x/Tg/+Wutn4piuqSdriu/1JY zYXzPVhMWIlj1UPq0MWusCSLzzGHD2NU4ocZ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Aj1HWIzBEmL0/VWYADqy4dsU1vL8mcuS8NRXZv98pdE=; b=hP/Kp8Q9guRFoZTZo45MHJ8vXLRa3mQp9r4cuaPObV7FlGkOTOaKTfMm2eUyCzh5Q5 G352ylVw9MBXPQyhDfMOGran/f2507wlTOqOxg5XAPDCVbGGxG0Izl+7RTRnCSNZBsnT aYkAwPG0lGfJgjgKbl+YN1/uOrsaig6F+AYucaDlCPeqMSX7EjCaxqivShj0ZQvTWqtG XMjV02tAGtTPwhLtGnABMgkT8DCeuMWP9IGdhDP4z2WZRi/Kd15aSW8gs37ErzGtFGIu DUppv31RPeLhU4i6hW9VnVxckwmVfxcLB6PEia4h8ctiDRWRE3g8ce4xkapU0hDf6EQG pmNQ== X-Gm-Message-State: AODbwcCDSQwldCN4zZAgrbhWOX+9jQ7Nf//EgIYxG/I3WPb+525+a362 lE6in02BygcYCfQa X-Received: by 10.107.9.137 with SMTP id 9mr5167409ioj.191.1494448947444; Wed, 10 May 2017 13:42:27 -0700 (PDT) Received: from isubrama-dev.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id q65sm17889ioi.61.2017.05.10.13.42.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 May 2017 13:42:26 -0700 (PDT) From: Iyappan Subramanian To: davem@davemloft.net, netdev@vger.kernel.org Subject: [PATCH v2 net-next 06/12] drivers: net: xgene: Remove unused macros Date: Wed, 10 May 2017 13:45:04 -0700 Message-Id: <1494449110-23785-7-git-send-email-isubramanian@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1494449110-23785-1-git-send-email-isubramanian@apm.com> References: <1494449110-23785-1-git-send-email-isubramanian@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170510_134248_651907_9A990BED X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Quan Nguyen , patches@apm.com, linux-arm-kernel@lists.infradead.org, Iyappan Subramanian MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Quan Nguyen This patch cleans up unused macros to improve readability. Signed-off-by: Quan Nguyen Signed-off-by: Iyappan Subramanian --- drivers/net/ethernet/apm/xgene/xgene_enet_hw.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_hw.h b/drivers/net/ethernet/apm/xgene/xgene_enet_hw.h index 3ce349f..ed51005 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_hw.h +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_hw.h @@ -217,12 +217,6 @@ enum xgene_enet_rm { #define FULL_DUPLEX2 BIT(0) #define PAD_CRC BIT(2) #define LENGTH_CHK BIT(4) -#define SCAN_AUTO_INCR BIT(5) -#define TBYT_ADDR 0x38 -#define TPKT_ADDR 0x39 -#define TDRP_ADDR 0x45 -#define TFCS_ADDR 0x47 -#define TUND_ADDR 0x4a #define TSO_IPPROTO_TCP 1