From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06CE2C43217 for ; Sun, 27 Nov 2022 15:30:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 058E885215; Sun, 27 Nov 2022 16:27:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="WKeiPJ8j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C057850EB; Sun, 27 Nov 2022 16:26:14 +0100 (CET) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E96A784F66 for ; Sun, 27 Nov 2022 16:26:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-ej1-x62c.google.com with SMTP id b2so4048632eja.7 for ; Sun, 27 Nov 2022 07:26:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=taYjeEhBDvK5zD+NrQG7Phcninb9F9zuspZW+HSIREs=; b=WKeiPJ8jE1jT8V6FV16Ow/BkGbPXrt2fCLDHZBWLm0T82Ij11iPnbk+FOhIH2UlOEW 5PRcyAfnRLXMCGDOEdNRkXAo0SzIw1Gg8nEbVglX22oB7Xpn45vHcOrTI9qUToSPwcT2 yDRcaMn4J7mfdvTeBwTxnJW08IEa/fLBF4vwM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=taYjeEhBDvK5zD+NrQG7Phcninb9F9zuspZW+HSIREs=; b=5ooyIyu9bNFGKsn+9Q2nkHaQ8gPDc+0kmgyj3e/8UqBdSPimoN0dCmQVq2M/9/gty+ ar9H8FIZf+Ziniphr00YwvlJSCgss0tcl+FleVc6vZNqwcAkmsPndmm+yK17dCf5rlh4 Cr5U6YQfUettK7SS2CDvljatUMwKQ1234HDz+YuhwqbMWXijnkJeOEPJCLwxscPqiKGJ g8Bbbn+zb+1UZJjS8LCDJL4SyV7snY/wq/uvWrL93/u4LxNEhlfDsSRN3fl4fmjdcgTv kQN5JJDGhomk8zbl5rKHRkvTe5Ho0JAa7fHxTXPRgZWxca0SnGFgxeq2oQKNdWNrCpsK LLvw== X-Gm-Message-State: ANoB5pnBwQrCJv65sI6mSWWD+lLyWRZIjJogO34UEgjgIQrMglWBTpsA 36SoUgj4erAX4AlhfhQjYvHaopCiad3B1g== X-Google-Smtp-Source: AA0mqf48zBTmldVeX8vZs4p6E4LygeoJqaJT3yzvkWWjmYecIZLLTLxdKYqkgLy2fUmmFGS68WhLQw== X-Received: by 2002:a17:906:90c9:b0:7b2:b783:f26b with SMTP id v9-20020a17090690c900b007b2b783f26bmr36706910ejw.406.1669562771495; Sun, 27 Nov 2022 07:26:11 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-dc2c-1c0a-ea3e-04dc.res6.spectrum.com. [2603:6081:7b00:6400:dc2c:1c0a:ea3e:4dc]) by smtp.gmail.com with ESMTPSA id tb6-20020a1709078b8600b007b47749838asm3853036ejc.45.2022.11.27.07.26.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 07:26:11 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 30/41] net: sunxi_emac: Remove non-DM_ETH code Date: Sun, 27 Nov 2022 10:25:25 -0500 Message-Id: <20221127152536.1556469-30-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221127152536.1556469-1-trini@konsulko.com> References: <20221119234545.404563-38-trini@konsulko.com> <20221127152536.1556469-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean As DM_ETH is required for all network drivers, it's now safe to remove the non-DM_ETH support code. Signed-off-by: Tom Rini --- drivers/net/sunxi_emac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 8625e49dae4d..ad9e1abd161e 100644 --- a/drivers/net/sunxi_emac.c +++ b/drivers/net/sunxi_emac.c @@ -164,9 +164,7 @@ struct emac_eth_dev { struct mii_dev *bus; struct phy_device *phydev; int link_printed; -#ifdef CONFIG_DM_ETH uchar rx_buf[EMAC_RX_BUFSIZE]; -#endif }; struct emac_rxhdr { -- 2.25.1