From patchwork Tue Feb 16 20:35:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Boyer X-Patchwork-Id: 87945 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 317F2A054D; Tue, 16 Feb 2021 21:36:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5DDD1607C7; Tue, 16 Feb 2021 21:36:02 +0100 (CET) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id B80451607B8 for ; Tue, 16 Feb 2021 21:35:59 +0100 (CET) Received: by mail-pf1-f175.google.com with SMTP id z6so6920307pfq.0 for ; Tue, 16 Feb 2021 12:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pensando.io; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=SCPKMQXYIlMchcolIA8CDN9Nqy1QDzBYx7dQUxAWZx4=; b=2VS1P4FOIV7a4QQY+k/R/1iLoUSZcwPn/iZusvW5nv224C2xFMNLjDOPNfp5qDy73Q euMF8YtqjS6Nb51tE7UM6jP7vocU+gv8k07Cyq7m73yR6nHxmwAvZdJXRy8dZnL6nqCK Z4P+Yxo8edTUvkUN2v0cw2Nnp67JIkbQlIafDHeEBe8NQGdTJMTILT8Vajc5IMipiur9 AigWWHUUnl+/6Lk7Tp9dbFxYwSlH4/no//tE3GwIopEaxifE5gKlpIaBIcIbUEPHiIpN SYpP+Qx1YBcPlfsZFVh4FDT7F7p0HC8NuexGtVrVfrR0LVE/VLmFOo70jNQSh/80+719 HIEQ== 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:in-reply-to :references:in-reply-to:references; bh=SCPKMQXYIlMchcolIA8CDN9Nqy1QDzBYx7dQUxAWZx4=; b=Xc8ouipMAsJAOS3H0IUHQYE7vGJFtL58ykjqH0y9d5fzjpMjPXjCQ9z8tj6k7MmNpE MgCh69dmVtgHAbhMBY6dojys9K5QEXAYCv06AeEU/1dwlQq9dq+tSg1SWFN5X8Cn5dcE 4Le1G3MZYAWSG5vGuRDp020LPMlekiJfZdDYKzXy28jx7bCPFalr0KuicyK/9l+6m35b npAqabJxC0GLlb1CdFbuA6jPki24wyMEdX+J+qk4BrsBQP+7+AN9KjOe6uK7yCAJwqtH q8iqTeR7ZuBZjnK7TNuUcLHQNDosyncdYseHJGhWkcPpTRN0DZfm862sCfLDiIMLtsJA byAw== X-Gm-Message-State: AOAM533sQs5yLK8tfgk+XXGkxeYz/h63rhVM7fAI5jGnsSJ8hmqsXUw6 i89ktL5xCzmmk7IVatNe/OEgjl7d6RpdbA== X-Google-Smtp-Source: ABdhPJxNWKAZ4n0YM1Zuf+kFt4LOmVpCN/cpVc5EssKgu/lfYRxenX3ttvUkj80r5heaHHSLW8CqPw== X-Received: by 2002:a65:615a:: with SMTP id o26mr5000886pgv.315.1613507758755; Tue, 16 Feb 2021 12:35:58 -0800 (PST) Received: from driver-dev1.pensando.io ([12.226.153.42]) by smtp.gmail.com with ESMTPSA id u17sm11371pgh.72.2021.02.16.12.35.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Feb 2021 12:35:58 -0800 (PST) From: Andrew Boyer To: dev@dpdk.org Cc: Alfredo Cardigliano , Andrew Boyer Date: Tue, 16 Feb 2021 12:35:31 -0800 Message-Id: <20210216203540.29290-7-aboyer@pensando.io> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210216203540.29290-1-aboyer@pensando.io> References: <20210216203540.29290-1-aboyer@pensando.io> In-Reply-To: <20210204195853.13411-1-aboyer@pensando.io> References: <20210204195853.13411-1-aboyer@pensando.io> Subject: [dpdk-dev] [PATCH v2 06/15] net/ionic: remove unused interrupt free function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This will conserve resources. Signed-off-by: Andrew Boyer --- drivers/net/ionic/ionic_lif.c | 7 ------- drivers/net/ionic/ionic_lif.h | 1 - 2 files changed, 8 deletions(-) diff --git a/drivers/net/ionic/ionic_lif.c b/drivers/net/ionic/ionic_lif.c index 1ca6e050ad..462a526935 100644 --- a/drivers/net/ionic/ionic_lif.c +++ b/drivers/net/ionic/ionic_lif.c @@ -584,13 +584,6 @@ ionic_intr_alloc(struct ionic_lif *lif, struct ionic_intr_info *intr) return 0; } -void -ionic_intr_free(struct ionic_lif *lif, struct ionic_intr_info *intr) -{ - if (intr->index != IONIC_INTR_NONE) - lif->adapter->intrs[intr->index] = false; -} - static int ionic_qcq_alloc(struct ionic_lif *lif, uint8_t type, uint32_t index, diff --git a/drivers/net/ionic/ionic_lif.h b/drivers/net/ionic/ionic_lif.h index c4cb7514fb..c850a9c08d 100644 --- a/drivers/net/ionic/ionic_lif.h +++ b/drivers/net/ionic/ionic_lif.h @@ -152,7 +152,6 @@ void ionic_lif_configure_vlan_offload(struct ionic_lif *lif, int mask); void ionic_lif_reset(struct ionic_lif *lif); int ionic_intr_alloc(struct ionic_lif *lif, struct ionic_intr_info *intr); -void ionic_intr_free(struct ionic_lif *lif, struct ionic_intr_info *intr); int ionic_qcq_service(struct ionic_qcq *qcq, int budget, ionic_cq_cb cb, void *cb_arg);