From patchwork Wed Sep 11 08:09:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1160740 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="jQjeVkOo"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46Svhb6ccpz9s00 for ; Wed, 11 Sep 2019 18:10:07 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 91850C21DA1; Wed, 11 Sep 2019 08:10:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 6CAFCC21C8B; Wed, 11 Sep 2019 08:10:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5F814C21C8B; Wed, 11 Sep 2019 08:10:02 +0000 (UTC) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by lists.denx.de (Postfix) with ESMTPS id 16D82C21C29 for ; Wed, 11 Sep 2019 08:10:02 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id t17so2278141wmi.2 for ; Wed, 11 Sep 2019 01:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id; bh=B1GLhfdRYy1tekJwlvatZudPzPVVvilMS5KMqx1+wyw=; b=jQjeVkOoYxTKIup+MT91rRm+D02093SSjcuFZnRJyZ6vPO7OLAdZdrGxmmQyt49/Fg VnwpA8Z9/kHyge0RGJXiE+904HbS//g/NZy/CGmnRu22w05SZ+mEbDCX71qM/6vQNLpC +7486UzlghP0m6qgwk9tI1g2sPprUsNKIQJmr2ZsWsRUXEVZCDZ0OW8+3O+xtPPWCWSO wFxj1c3FfvfTXID+LpDxgtjxNlrnqH3E+ZxJsAWPnxJWfEGrF8Wojg/uerPRJEqQ3OBQ j6zsTnYVcHkSlaVVcIY7IhJPT7PWaOI2RooruLYxfCX6XGKyFwukU1kCAQMxJYu2Iqm6 gMiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=B1GLhfdRYy1tekJwlvatZudPzPVVvilMS5KMqx1+wyw=; b=CnGD/1a98mD/tJDBc0veswk3cOZjYS4UMQNsMO9Qf5zjkZF8hB6ftWBP2J0QwmN/hg Az/Tg1dA8w1tHVaPJKncq5x3GScrBL87iyo2yHGNEYm4kr2RV8QD+h1ePIDeiW5287rm JkYAvDKXgDTG/Lg1lYeVH43pe502NUXl6cNs4m/7yfNKf1P3lju4m0sBc/b1X0Z5jprz qysFNuZOjHsjXHAd4yVHjX61iESJekcCDK16WILeRsN5JPKI9G8PffAry1yP4wjEJ1kq ENTj497khtCIJSP1o4Jy7lKXyS6Jd+emR/D/MpNIdNiijDpBTBkr8qc8hZwLDHcrT5uu TqXA== X-Gm-Message-State: APjAAAWyKUcbuQaDaihyy2+wZToVnceUZZ+J2dtP63V85TqwIwut89YV AxsU7dLiVncMjNZ756vxFqSAcAVBsAU= X-Google-Smtp-Source: APXvYqxad5zYjq4y04/gD27ID4esIJW8csj5bf8HOEURYQ08cM33wReBASmK2vTzsXgNMMCtY2FYOQ== X-Received: by 2002:a7b:ce0e:: with SMTP id m14mr2900417wmc.138.1568189401525; Wed, 11 Sep 2019 01:10:01 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id a11sm1856012wmj.21.2019.09.11.01.10.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2019 01:10:00 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Date: Wed, 11 Sep 2019 10:09:59 +0200 Message-Id: <2228370655a53814889822e749a92b7328e6ab39.1568189397.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.17.1 Cc: Joe Hershberger Subject: [U-Boot] [PATCH] net: gem: Remove DECLARE_GLOBAL_DATA_PTR from gem driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" GD is not used anywhere that's why there is no reason to have this macro in the driver. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 033efb819569..a2ed50fa1e55 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -26,8 +26,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - /* Bit/mask specification */ #define ZYNQ_GEM_PHYMNTNC_OP_MASK 0x40020000 /* operation mask bits */ #define ZYNQ_GEM_PHYMNTNC_OP_R_MASK 0x20000000 /* read operation */