From patchwork Thu Sep 2 17:17:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 12472185 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 2EF59C83028 for ; Thu, 2 Sep 2021 17:17:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0AA0460FE6 for ; Thu, 2 Sep 2021 17:17:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346546AbhIBRSO (ORCPT ); Thu, 2 Sep 2021 13:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346521AbhIBRSM (ORCPT ); Thu, 2 Sep 2021 13:18:12 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5B0DC061575 for ; Thu, 2 Sep 2021 10:17:13 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id gp20-20020a17090adf1400b00196b761920aso1958450pjb.3 for ; Thu, 02 Sep 2021 10:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JCQLtIvAZ2LIUN8s6wB15FfFm/gvbEZ3cdo8q/QciGM=; b=DEXc8c22/gOqmAo3Af4Qv2mFjFpb7Ob0RZ2lIZ8X88LP4+meAMh5aqN4AUANT6NrsN GsIVlEW371HLySsqhWRDVXv1T2WfPwUOeGwZt7ZZWIvjNIMzQxN0oYJwc9lugd4GVPZn vS110btRYFC4xM+mOMunHb8ZZABsgkDR/ZDLFFzrm0saXHf/d5Anr+uJ8Bq1QmvfxZcu 0a97ZAnYcJZ74Fz9xhp/uw18XIiLRq8WzZFc2G9jNHsyLGdLD8mdDoCh+SHx3Uoavy6h N6AygkinZUZHpfFGKLPEUb02YEC87Ixo7lPdP11FFPtH5gtKYpBbX97ICh2gYReuRbSM niOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JCQLtIvAZ2LIUN8s6wB15FfFm/gvbEZ3cdo8q/QciGM=; b=df65wy2WnA+ncbcJrNYmfKRBjKb0cnLaqYHqtDvBCnlW6DhqJ9YCo/XsL36od0qKjz UQUiBWQBUT2FqYmww+Pl4irJMwCwYPx/ZLyVj6LCJitaOeFu8uvlCsxp6XIsMU2f6srj +P3//wnzTjCCdMZK+zQay5tTC9JXe2z3N+SnYv+kRaaDvmX/EeYCD5hNlUggmieQsoec nL46E0LYaBStzGgi8eggmNOngVYYmlOMqkt3qSt2chtGiUn3RhyE0HjAVaUCHl4VI4N3 imdPmtoRUiuWwAsB/UQsmfGfM7sCx1ft7If2xbzmB5X3LLsuw2JuXLdxLqiIYgcO89js OLxw== X-Gm-Message-State: AOAM531nZFkagH9zkl6R7hr7awNK3oKxGV+ADYgdr4Lu0go21x1XjmHR gXTzKeZ4OXwyNSvq3ltrZHnC7pPoRho= X-Google-Smtp-Source: ABdhPJxLMohl98sWOSMtl/TmdxItmH3OLrmobf8vfKUeGrVYSvzdPSobNSWcYwD1BUkiB1RhVWgmig== X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr4840407pji.133.1630603033248; Thu, 02 Sep 2021 10:17:13 -0700 (PDT) Received: from edumazet1.svl.corp.google.com ([2620:15c:2c4:201:9bb5:cedf:a62f:92ff]) by smtp.gmail.com with ESMTPSA id v9sm3419214pga.82.2021.09.02.10.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 10:17:12 -0700 (PDT) From: Eric Dumazet To: "David S . Miller" , Jakub Kicinski Cc: netdev , Eric Dumazet , Eric Dumazet , Stephen Hemminger Subject: [PATCH net] pktgen: remove unused variable Date: Thu, 2 Sep 2021 10:17:09 -0700 Message-Id: <20210902171709.1965320-1-eric.dumazet@gmail.com> X-Mailer: git-send-email 2.33.0.153.gba50c8fa24-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Eric Dumazet pktgen_thread_worker() no longer needs wait variable, delete it. Fixes: ef87979c273a ("pktgen: better scheduler friendliness") Signed-off-by: Eric Dumazet Cc: Stephen Hemminger --- net/core/pktgen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 9e5a3249373c239f0d3ba2088f79a09cf4085403..a3d74e2704c42e3bec1aa502b911c1b952a56cf1 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -3602,7 +3602,6 @@ static void pktgen_xmit(struct pktgen_dev *pkt_dev) static int pktgen_thread_worker(void *arg) { - DEFINE_WAIT(wait); struct pktgen_thread *t = arg; struct pktgen_dev *pkt_dev = NULL; int cpu = t->cpu;