From patchwork Mon Nov 30 00:10:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 11939419 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89684C3E8C5 for ; Mon, 30 Nov 2020 00:11:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0091F20709 for ; Mon, 30 Nov 2020 00:11:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="BVXwGbSx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727773AbgK3ALJ (ORCPT ); Sun, 29 Nov 2020 19:11:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726304AbgK3ALI (ORCPT ); Sun, 29 Nov 2020 19:11:08 -0500 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF825C0613CF for ; Sun, 29 Nov 2020 16:10:27 -0800 (PST) Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id CD7B7891AD; Mon, 30 Nov 2020 13:10:21 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1606695021; bh=UIqWYi9dJ/tmnYKWJprnq3EqMYZT/sDGMsS3orkktdo=; h=From:To:Cc:Subject:Date; b=BVXwGbSxxSE6NNiSC4BF9So9Y8VsGlyKL1PbiicB6DSYHHRWqUgWEPI6wpO4sOMnx zYZPoohLTv9sCOn5t7SJKxkdTA3nidQSu0PtYEIUfCeE+OkpHcwrpMuL2+661YoLMM P2K9Jd7fmDE6lkwUiJRO802vaOVXZ3MO+ZZtL+lK7YC0zCyfgsHxWIjVqPYZrf1uff Zk2NhVRmMHi89+Rkz97PtyBBtkcLEsb7l/g4KE39dondLRwhxVoneRtb2rO4S2scgS 1oekPW8ZF6e1QPl6B2duOtsXeKMwYva1KsgyF9nH2jxZeubre1DGFKaC5miXlADICy dHLKzPcJaL1Fg== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Mon, 30 Nov 2020 13:10:19 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id DD87913EF0D; Mon, 30 Nov 2020 13:10:15 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 966612800AA; Mon, 30 Nov 2020 13:10:16 +1300 (NZDT) From: Chris Packham To: leoyang.li@nxp.com, davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, trivial@kernel.org, Chris Packham Subject: [net-next PATCH] net: freescale: ucc_geth: remove unused SKB_ALLOC_TIMEOUT Date: Mon, 30 Nov 2020 13:10:10 +1300 Message-Id: <20201130001010.28998-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 x-atlnz-ls: pat Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org This was added in commit ce973b141dfa ("[PATCH] Freescale QE UCC gigabit ethernet driver") but doesn't appear to have been used. Remove it now. Signed-off-by: Chris Packham --- drivers/net/ethernet/freescale/ucc_geth.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/ucc_geth.h b/drivers/net/ethernet/freescale/ucc_geth.h index 3fe903972195..1a9bdf66a7d8 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.h +++ b/drivers/net/ethernet/freescale/ucc_geth.h @@ -882,7 +882,6 @@ struct ucc_geth_hardware_statistics { addresses */ #define TX_TIMEOUT (1*HZ) -#define SKB_ALLOC_TIMEOUT 100000 #define PHY_INIT_TIMEOUT 100000 #define PHY_CHANGE_TIME 2