From patchwork Fri Aug 19 16:44:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 9290601 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 2DDA960574 for ; Fri, 19 Aug 2016 16:44:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20E2F294DF for ; Fri, 19 Aug 2016 16:44:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 15AE0294E3; Fri, 19 Aug 2016 16:44:48 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI 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 AB9CB294DF for ; Fri, 19 Aug 2016 16:44:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755081AbcHSQoo (ORCPT ); Fri, 19 Aug 2016 12:44:44 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:36019 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754959AbcHSQon (ORCPT ); Fri, 19 Aug 2016 12:44:43 -0400 Received: by mail-wm0-f50.google.com with SMTP id q128so41478367wma.1 for ; Fri, 19 Aug 2016 09:44:42 -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=ivYwzriG0WPzCtXZGp7QJKKUWUNbMZKJ5DibcOZ4cAE=; b=12kUHedKxpA86OT3eouGfgOrtsuICr8H0IwG7dfUSkJyWl+1Iq/TlGsm0nWBRUV5GL ZcaR9LLNQ57bzHorNmqWej5xbta0ESjNdiZ5ZKMhJySLJZT9zYDgMM3TNdr4mOlgDGet EFFLBDmLwog4cN1rcCljh4Mq2ty77ab2AtI2vof52r7ujYTuV1TIvEEO2TWQd8H/oOXJ 7hpkVj25KSTxxq65cIVO78IR9FBepGqrhhOzUbn5/Oqv+CWFsPWK3jsj11vZ5nuiLrAD 7eYpJ+wpycxuf0jtATuRTpIuuvPGyatlNn105yunK0rBz6KjxSvhgSVEPjysFj0w8xi/ olqw== 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=ivYwzriG0WPzCtXZGp7QJKKUWUNbMZKJ5DibcOZ4cAE=; b=Peyw6+vAz7KjYLLsB6m09iWURne+m5tDTxxs1aE1ep0m5EF+sIuUWkktYrXY2GkDIK yIaQ21ch1cHIIM9Ga17OVYS6j87CfUmWidEBjadCCd2GN/YBqV2o963xwN24b06WajZP Beepy4wv7X6TZdJxkbEiXdAlIZTQk8HIesZW77qsqxqmJQs+4ofz2Sdu9gtYQ1wRKhsA ThTTZZF8KilrkTU4dkWEsWhnz9DsygvpvexjG7TYTr3bAEpcAw0HOvi+1+hMr9GZ6/69 K1lHwUUX9+Rg1EasQSuK1inuY1hIXbPxc+fW5LJKafAY/8LM28bh9WmQPvJ84tgeL51C VkOw== X-Gm-Message-State: AEkoouuwdQBV7bQHjEzNU/gjJ7TCJknwCS4JfveOWMyVGZmxCvtVpDbLirLiqK8qH3gHe2tO X-Received: by 10.28.183.134 with SMTP id h128mr4615757wmf.7.1471625081520; Fri, 19 Aug 2016 09:44:41 -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 bj8sm7795741wjc.49.2016.08.19.09.44.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Aug 2016 09:44:41 -0700 (PDT) From: Jakub Kicinski To: Kalle Valo , Linux Wireless List Cc: Jakub Kicinski Subject: [PATCHv7 2/4] mt7601u: remove redefinition of GENMASK Date: Fri, 19 Aug 2016 17:44:07 +0100 Message-Id: <1471625049-12643-3-git-send-email-jakub.kicinski@netronome.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1471625049-12643-1-git-send-email-jakub.kicinski@netronome.com> References: <1471625049-12643-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. Reviewed-by: Dinan Gunawardena Signed-off-by: Jakub Kicinski --- 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