From patchwork Wed Jan 30 14:13:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Heib X-Patchwork-Id: 10788655 X-Patchwork-Delegate: jgg@ziepe.ca Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3A38414E1 for ; Wed, 30 Jan 2019 14:14:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28C532793A for ; Wed, 30 Jan 2019 14:14:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1CEE327F8F; Wed, 30 Jan 2019 14:14:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD56C2793A for ; Wed, 30 Jan 2019 14:14:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727555AbfA3OOD (ORCPT ); Wed, 30 Jan 2019 09:14:03 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:33757 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbfA3OOD (ORCPT ); Wed, 30 Jan 2019 09:14:03 -0500 Received: by mail-wm1-f68.google.com with SMTP id r24so15575668wmh.0 for ; Wed, 30 Jan 2019 06:14:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4dSslZe7d9r3BplQR/SVRvY8GrvuAyP1INIlWe6ru9Y=; b=RApv3pmHhoq7458cv+Fy9b3yjs3WNGH/VNYeCM//hA/L9lKS/q3GxkSprRwivlaRHB uayB6Lm6Lzx+OuqvzxCNp7icjsrbPk/iN6+dw+a6PZZvUW0CQ1SygQkURBo1Ea0celGP h1clVeEzIFPJbkQY6FAXf6js/f38cxN4GntLfz/1fR4rpWuFSA7N9MkRB4U/mNdPGlvF kezlRG1hsY9BXk5/7+iPfYev/7C8Fi4pXdDegIgWG+UJr1VwsoTXH1TCutDBZ5NDJq3V WTKYeuIs2pSVWhW7pLcQrxEUlPsyx34lxS1PCIYAq37oxocv0MQX+xIM9onI1+xA8Z2U pshQ== 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:mime-version:content-transfer-encoding; bh=4dSslZe7d9r3BplQR/SVRvY8GrvuAyP1INIlWe6ru9Y=; b=AAm/nP5hbSxCGPdcv0PNKdgJerWfskuhUTsK3wVYGNbiqnbt9ZaKUN5qDchuY01zVn RhBo3qkLTM22qOefea2moHhYs/LHUZpOSHsLHJlcJ/wEgUW4bkBBcA37E2PdqaVxzIna F5nLMDOK+UjKoQK4AgxFbL64RbVc/tryBsukp9oi7uCNE6kQGAm4RZ990d4e3HACQsEL dtmCagQbfQCkOUUran334jLHHUSb9kjhWzRn3QAmqnagEjC43T1n1/HPvkh/fVrz5Xxj U1zelxF7bBg4AuyMcjROVW6KzNwGCX23uCta3Yr9q7yzBgX8dlm866sIUUEu3r7Y8EA2 wvvQ== X-Gm-Message-State: AJcUukdHqzuBNREJlNqbL4jg6atXs4BoY7u/E9Ud6MZyAyGDqMkjyvJR 97x/WZPLTzu9TFoykyurHwg= X-Google-Smtp-Source: ALg8bN5nQ1pGUNi2bgk4kyU65wb6LWHXPx8D5M0U6VXert4lQ/GChire87av7VKrdiuSLHJphabkVw== X-Received: by 2002:a1c:4346:: with SMTP id q67mr26850449wma.114.1548857641565; Wed, 30 Jan 2019 06:14:01 -0800 (PST) Received: from kheib-workstation.redhat.com ([192.116.94.216]) by smtp.gmail.com with ESMTPSA id l20sm2859057wrb.93.2019.01.30.06.14.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 06:14:01 -0800 (PST) From: Kamal Heib To: Doug Ledford , Jason Gunthorpe , Leon Romanovsky Cc: linux-rdma@vger.kernel.org, Kamal Heib Subject: [PATCH for-next 1/2] IB/mlx5: Make mlx5_ib_stage_odp_cleanup() static Date: Wed, 30 Jan 2019 16:13:42 +0200 Message-Id: <20190130141343.9129-2-kamalheib1@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130141343.9129-1-kamalheib1@gmail.com> References: <20190130141343.9129-1-kamalheib1@gmail.com> MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The function mlx5_ib_stage_odp_cleanup() is only used in main.c Fixes: d5d284b829a6 ("{net,IB}/mlx5: Move Page fault EQ and ODP logic to RDMA") Signed-off-by: Kamal Heib Acked-by: Leon Romanovsky --- drivers/infiniband/hw/mlx5/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 2aaa196c2653..96bf1b2f9dd7 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -6176,7 +6176,7 @@ static int mlx5_ib_stage_odp_init(struct mlx5_ib_dev *dev) return mlx5_ib_odp_init_one(dev); } -void mlx5_ib_stage_odp_cleanup(struct mlx5_ib_dev *dev) +static void mlx5_ib_stage_odp_cleanup(struct mlx5_ib_dev *dev) { mlx5_ib_odp_cleanup_one(dev); }