Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1763830rwb; Fri, 23 Sep 2022 18:55:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HrIc/34T7GFi5Q3i6qIHZcL7vVsIxD0Xyv1P1BiSHpnoX94igMBNZ9ZDYsflXqnQoEaiF X-Received: by 2002:a17:903:2c7:b0:16c:ebf6:db22 with SMTP id s7-20020a17090302c700b0016cebf6db22mr11233381plk.16.1663984524316; Fri, 23 Sep 2022 18:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663984524; cv=none; d=google.com; s=arc-20160816; b=JXjXasID271Qu6gpyTyOhInv0s5ouU9hjNXPkMUTc3DavNLDwv9ZaVlITmBgjU2M03 hkcecr0kgCTvM36FOcup7u5g9IzxXFp1PXkG4txV64zDYBUA8oI+a9AqZnh8XPzXGPXT Id/CSfsbk/KIME//r3AESB0cmiOBKd489UR7hY96NwS8aZpOMFhcErCuixvyvHIBhmN7 ZKwFYBrUSiEABdpZ9Kwf7mN/CSerQqGmvIdxC4vph8C3OgD2BmDWFwcYPVKmeuJskhu0 O6HNqZ/v6aMqy4TzLnkS3vhCpfxLIRAijnyCnAYZsmU3QaK332Fdd4KVzFqDWKWy0GvV MFGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H1UaOTpezQWNyZKXRTONOpsHys97wRpqFpTI6Zr1YuY=; b=cMM/1yPsTo/Fj26xVdYMU6Y+BfF2Hjj9g6gMuNxBq5J1n3xSfi6LPPUT1r3SW0UwNa IOn+Zyoo4JrbgKYA03XDtBUnqL+KIIuviqE0zCOlC6l7/xbO/4ygrfEs25z9oziIHSKr 2suBIbx+GZh+GLJ/PAy1HoOo3q4H+3fKv712+McCbB/36Y0wQHK5bLLK2mC/cnDTh7Dq LJ3+YcjccTLwIc4ayXmTRqrRzK7vxLIzJu74mkRejbUGiTp8tYwQa2lguQO2wm3zTzuj tery1qY4QB0E/unvYEG6D5KW/konWgiKEsLfTqgPMbxpD9Py8LbQzrSytnbpwyrJJaj/ jkGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=inp7n0QA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m6-20020a056a00080600b0050df0383302si11290209pfk.255.2022.09.23.18.55.12; Fri, 23 Sep 2022 18:55:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=inp7n0QA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233033AbiIXBxu (ORCPT + 99 others); Fri, 23 Sep 2022 21:53:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232932AbiIXBxp (ORCPT ); Fri, 23 Sep 2022 21:53:45 -0400 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3E81106529; Fri, 23 Sep 2022 18:53:44 -0700 (PDT) Received: by mail-qv1-xf2a.google.com with SMTP id l14so1038916qvq.8; Fri, 23 Sep 2022 18:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=H1UaOTpezQWNyZKXRTONOpsHys97wRpqFpTI6Zr1YuY=; b=inp7n0QA5p8anUYe8CCsOphpF3rIrxEVB1QR+ClplsUiGfl+QW5A4WUIKYfWC76Nb3 7pJqgukW+yh4J4/NKWLfrRHTVEzNEBGQY2iq6Tk6DgLwnhWPgbXlRnkPBg3OCQhMIdit u74U4kxvL+EF29wIQPWkUPt2Yg9RrAZ0pFIi9Da+DJFRgrIfaXJww+LUVlNnYiOGDvyw NDqlvGza4O8YCYyUYHJe4VAAV7eF3WiLBb114qa+vFtvFUcgSfzl232ipbiV1uUEHC/w yObPUMif1RmXBhdlEN3H9Bn7x9DCX8/k6KByxHtd48F1IPAjLLm3EGhIgpmc3KzfHFqP tEdA== 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=H1UaOTpezQWNyZKXRTONOpsHys97wRpqFpTI6Zr1YuY=; b=GbDr7nh7FsKP0IJJ+MmT0ZORvGirKwmL43K4KjZ5V8ryrZUsRoNrXUpTQjytT7HXh0 A15e78Q7DeXGQcNDUQkYRhihs4601WqsdYAB6ABm4XqdA1v3SyprKtjSUtFzUjddFa9d IOZsGw8WBXcNBT9hNGRiBpeHtMzoR1c+mUysHp4b0KES84hUPeZTRjW4FoCGUdU6iC0b esvTVzy9GCZooem4UDaRES+idIfP+PgHLe07fZNQ3LMpksFptpTGpvOZyaXpo6Byhm1r gmdQYzkCu1gxukqNO955o2cAe5wS9lHDJnYvF2uw+g+lIZHRFmVGpXqjXpYjuye5nCoe CIxA== X-Gm-Message-State: ACrzQf14hVSzBwJMXMqE4rv6trfiLIXoHzk734hVZKUPgSzNS0nSvnKB QEJ84AU/kgLcRX7gfWq41B4= X-Received: by 2002:a05:6214:2303:b0:4ad:58f2:7ca4 with SMTP id gc3-20020a056214230300b004ad58f27ca4mr9134294qvb.89.1663984423937; Fri, 23 Sep 2022 18:53:43 -0700 (PDT) Received: from localhost (pool-173-73-95-180.washdc.fios.verizon.net. [173.73.95.180]) by smtp.gmail.com with UTF8SMTPSA id i10-20020ac8764a000000b0035badb499c7sm6962360qtr.21.2022.09.23.18.53.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Sep 2022 18:53:43 -0700 (PDT) From: Sean Anderson To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Cc: Nick Bowler , Rolf Eike Beer , Zheyu Ma , linux-kernel@vger.kernel.org (open list), Sean Anderson Subject: [PATCH net-next v2 01/13] sunhme: remove unused tx_dump_ring() Date: Fri, 23 Sep 2022 21:53:27 -0400 Message-Id: <20220924015339.1816744-2-seanga2@gmail.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220924015339.1816744-1-seanga2@gmail.com> References: <20220924015339.1816744-1-seanga2@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rolf Eike Beer I can't find a reference to it in the entire git history. Signed-off-by: Rolf Eike Beer Signed-off-by: Sean Anderson --- (no changes since v1) drivers/net/ethernet/sun/sunhme.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index e660902cfdf7..987f4c7338f5 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c @@ -135,25 +135,9 @@ static __inline__ void tx_dump_log(void) this = (this + 1) & (TX_LOG_LEN - 1); } } -static __inline__ void tx_dump_ring(struct happy_meal *hp) -{ - struct hmeal_init_block *hb = hp->happy_block; - struct happy_meal_txd *tp = &hb->happy_meal_txd[0]; - int i; - - for (i = 0; i < TX_RING_SIZE; i+=4) { - printk("TXD[%d..%d]: [%08x:%08x] [%08x:%08x] [%08x:%08x] [%08x:%08x]\n", - i, i + 4, - le32_to_cpu(tp[i].tx_flags), le32_to_cpu(tp[i].tx_addr), - le32_to_cpu(tp[i + 1].tx_flags), le32_to_cpu(tp[i + 1].tx_addr), - le32_to_cpu(tp[i + 2].tx_flags), le32_to_cpu(tp[i + 2].tx_addr), - le32_to_cpu(tp[i + 3].tx_flags), le32_to_cpu(tp[i + 3].tx_addr)); - } -} #else #define tx_add_log(hp, a, s) do { } while(0) #define tx_dump_log() do { } while(0) -#define tx_dump_ring(hp) do { } while(0) #endif #ifdef HMEDEBUG -- 2.37.1