From nobody Mon Apr 20 04:21:11 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FC30C433EF for ; Wed, 22 Jun 2022 14:31:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235661AbiFVObE (ORCPT ); Wed, 22 Jun 2022 10:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233851AbiFVOab (ORCPT ); Wed, 22 Jun 2022 10:30:31 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 30B823DA61 for ; Wed, 22 Jun 2022 07:30:01 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A6CB3D6E; Wed, 22 Jun 2022 07:30:00 -0700 (PDT) Received: from e122027.arm.com (unknown [10.57.41.243]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9A1083F792; Wed, 22 Jun 2022 07:29:59 -0700 (PDT) From: Steven Price To: Christoph Hellwig Cc: Steven Price , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Konrad Rzeszutek Wilk Subject: [PATCH] swiotlb: Remove redundant swiotlb_force Date: Wed, 22 Jun 2022 15:29:52 +0100 Message-Id: <20220622142952.320057-1-steven.price@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The variable (and enum) was removed in commit c6af2aa9ffc9 ("swiotlb: make the swiotlb_init interface more useful") but the declaration was left in swiotlb.h. Tidy up by removing the declaration as well. Signed-off-by: Steven Price --- include/linux/swiotlb.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index 7ed35dd3de6e..b1f5ace37502 100644 --- a/include/linux/swiotlb.h +++ b/include/linux/swiotlb.h @@ -60,8 +60,6 @@ dma_addr_t swiotlb_map(struct device *dev, phys_addr_t ph= ys, size_t size, enum dma_data_direction dir, unsigned long attrs); =20 #ifdef CONFIG_SWIOTLB -extern enum swiotlb_force swiotlb_force; - /** * struct io_tlb_mem - IO TLB Memory Pool Descriptor * --=20 2.25.1