From patchwork Wed Aug 31 11:46:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 9307001 X-Patchwork-Delegate: kvalo@adurom.com 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 4988060487 for ; Wed, 31 Aug 2016 11:47:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C1CF28CF7 for ; Wed, 31 Aug 2016 11:47:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30E4928ED8; Wed, 31 Aug 2016 11:47:41 +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=-5.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D460C28CF7 for ; Wed, 31 Aug 2016 11:47:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933172AbcHaLrb (ORCPT ); Wed, 31 Aug 2016 07:47:31 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:36915 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933515AbcHaLr3 (ORCPT ); Wed, 31 Aug 2016 07:47:29 -0400 Received: by mail-wm0-f47.google.com with SMTP id i5so84773326wmg.0 for ; Wed, 31 Aug 2016 04:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=W/3BZixpOrScY4cAKxDqsD5KZJcZ219g+n3T3/1kDqE=; b=hu2ZIz1/AWBOm2iE4VU3DTbmiUOwbokZiEr/oERUyWj+kyuLy8biI8Z+UopnQHZTpy 0SEeA1vKlgGFLXxiursadQL16Vz5/7Amdn7gvAuYuFxfd0yVn+glc4x6ntmEStroIYT5 EkADStNDDQrD7ujg+VlTpCWjcluydIFoT+AP3XEWvoe0tEE9dP/oQZBe14k5KQgZwNcm 0FdxI5tMdRyQLXccQb4+ljEnNk+G1R9hCsKzw7+X8hcUfCpWe65IuELbOnfqskwwH6NW sfNX1T8r6e4pYx7GYi6hiWLUNpc/BQynMBaRIzqqsHbBQpnHhY0y6O+R4Rd1+E32YuKD AZ3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=W/3BZixpOrScY4cAKxDqsD5KZJcZ219g+n3T3/1kDqE=; b=FYBeS3In/uZxVJNNYq2MN6hleW/rUmBfBp3HiiEAvDNxqGF1DC7a0fbbWDSrql/gW6 vuQCjb/rlwpMnlJFo74+Tc2hqD22pSo25vORq7NGSpSTcjyndnAJVReKgeXF3awvnM7v iLnecVX3FM888hUNOKFO7kik1loN3UJXoWgJdZ7O1gxbsXf8vTrV+Xy3lBN9Vjb9oF7u 6GrS1CSODQiXPiEW6U8DsLUMw9ky7MvZA6fbleLwrjHE4ZhgCHi/UtLs7ghpsvqozpmW OKGUMeJ6kaTGfO/+r0F68vPCoFu3zc3WO8hCyTE0/J+FckgjqFM7gY1GRlccutYx9A8/ wrNg== X-Gm-Message-State: AE9vXwMb3+oi9mRUbFxZeHerkuvg7gKFEqhONWwhT+G3Y3oN0YPcV5hgziKOiNpmD49c0oJV X-Received: by 10.194.139.34 with SMTP id qv2mr8575315wjb.50.1472644047640; Wed, 31 Aug 2016 04:47:27 -0700 (PDT) Received: from jkicinski-Precision-T1700.netronome.com (host-79-78-33-110.static.as9105.net. [79.78.33.110]) by smtp.gmail.com with ESMTPSA id bw9sm44197848wjc.33.2016.08.31.04.47.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 04:47:26 -0700 (PDT) From: Jakub Kicinski To: Kalle Valo , Linux Wireless List Cc: Jakub Kicinski Subject: [PATCHv8 2/4] mt7601u: remove redefinition of GENMASK Date: Wed, 31 Aug 2016 12:46:45 +0100 Message-Id: <1472644007-20959-3-git-send-email-jakub.kicinski@netronome.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472644007-20959-1-git-send-email-jakub.kicinski@netronome.com> References: <1471625049-12643-1-git-send-email-jakub.kicinski@netronome.com> <1472644007-20959-1-git-send-email-jakub.kicinski@netronome.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove redefinition of GENMASK which should not be there in the upstream version of the code. Signed-off-by: Jakub Kicinski Reviewed-by: Dinan Gunawardena --- drivers/net/wireless/mediatek/mt7601u/regs.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt7601u/regs.h b/drivers/net/wireless/mediatek/mt7601u/regs.h index afd8978e83fa..27a429d90cec 100644 --- a/drivers/net/wireless/mediatek/mt7601u/regs.h +++ b/drivers/net/wireless/mediatek/mt7601u/regs.h @@ -17,10 +17,6 @@ #include -#ifndef GENMASK -#define GENMASK(h, l) (((U32_C(1) << ((h) - (l) + 1)) - 1) << (l)) -#endif - #define MT_ASIC_VERSION 0x0000 #define MT76XX_REV_E3 0x22