Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4736566pxb; Tue, 2 Nov 2021 15:03:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLGts3b2amyORoViypev/D9p3vOpJ2kWoa2cxKuTkWRRvWxV514mIPOXgMeJUkLQryGvrr X-Received: by 2002:a05:6830:1e81:: with SMTP id n1mr22165101otr.335.1635890612458; Tue, 02 Nov 2021 15:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635890612; cv=none; d=google.com; s=arc-20160816; b=MLy3sTuvQfFHgPg7heYwN+R8gEKk00ul0m5U9i5xmeibRDdg4hfEsCzXqR3i6HsZMf CFpFZgqhf6p0ZPosstwGSEoV6MOJHe+kPy+buUyQqttMJU9q6HzEyFz5Q9jPdIrZl7Pz KgeUdQ7SKkwidEXwivxFvf+Y16Ce+idLkzj/HNgwW7yvo2gPzVPA520ksaw6yHDKA8bD AYeb534LmBGNqd1WdtvClxcm+QRYMjBYfIEFUqwcFiTAIEpJsRG+MchQgKHTPx49vhMN QXe5dOFGnd6zEbcme3/SfTtCZca/f5GtYI0OFN3DogkBKN9NZSO7QzXmohSUP9jGuJho /LIA== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=QYCx8iyB5QbzPzCDV274eB6oB6pXbjKZaGgcnZWvu98=; b=CSHxukekXiLOOcHEOGWrBSCp/NfeFaXi7b9ajBWcNq0uWyHTwDW60tWUejY7OOffCL OknDFTZnjeEax6Zae4SAT9ODERQb6BtuRqFRX0P6BG2c0/uSH/750MReHmubr0yDeAr0 2e1HXWEv2XuDtzc93R2dPSGHTjPFD1g6LK8gKCYR5TOBMgcNZZDZg7PPP9MriqVG/PED vaeX1lTQ57FCI3HWXe877FnLw9mkJQb1jwO8Z3m0ZI4TynBuzGfWTmB/LSIeLi+cTkpy T/+aysS0wCm8QVumMh3ym7gcXBGMuXe7h67barI3rzdFgYjhAh8aTupOKi/xIxosQ3Gp FjUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=pUTpxEG3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r41si428434oiw.166.2021.11.02.15.03.17; Tue, 02 Nov 2021 15:03:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=pUTpxEG3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbhKBWEu (ORCPT + 99 others); Tue, 2 Nov 2021 18:04:50 -0400 Received: from ms.lwn.net ([45.79.88.28]:53370 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbhKBWEu (ORCPT ); Tue, 2 Nov 2021 18:04:50 -0400 Received: from meer.lwn.net (unknown [IPv6:2601:281:8300:104d::5f6]) by ms.lwn.net (Postfix) with ESMTPA id E51B35EBE; Tue, 2 Nov 2021 22:02:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net E51B35EBE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1635890535; bh=QYCx8iyB5QbzPzCDV274eB6oB6pXbjKZaGgcnZWvu98=; h=From:To:Cc:Subject:Date:From; b=pUTpxEG3/+BLWHeWRKdDVgPZk2Bz0s8rn03j1z3EgymRXWlAkw77VKWStkjjeK9+U isUdWisTBAsXW15vY3VjbUMYDDzXKwja3YxDC3J/ogqkcwl45rHiupqpKS7Zl++VWg dV2uWAq9Z8mNRnXnYaRGUtRzzQGD18LeEWc2jpaNy3km2CFrVfLCuS0NhIVhkEcjIM 59FCy1g44t8L8mavFlBAHVaxZehv6CLusqa1MrSOkvAUYI8jQznMI7M/lOzhuv+MVP c7Pi+P50KAxgy2T5rUJgG+hAmkTEDfr4Qkf8uHAI5dIWJQg3Ihq7ukEBMYlFeSK1TM maM4/STnynGTw== From: Jonathan Corbet To: linux-kernel@vger.kernel.org Cc: Jonathan Corbet Subject: [PATCH 0/9] Remove some unused header files Date: Tue, 2 Nov 2021 16:01:54 -0600 Message-Id: <20211102220203.940290-1-corbet@lwn.net> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While working on something totally different, it occurred to me to wonder which header files in the kernel are not used anywhere. Writing a little program to figure that out in Rust was the perfect distriction from the work I really needed to be doing... It turns out there aren't many under include/linux; this gets rid of the ones I found. Jonathan Corbet (9): Remove unused headers and nfs: remove unused header Remove unused header Remove unused header Input: remove unused header mtd: remove unused header file ARM: ixp4xx: remove unused header file pata_ixp4xx_cf.h spi: remove unused header file net: remove unused header file include/linux/cnt32_to_63.h | 104 ------ include/linux/input/cy8ctmg110_pdata.h | 10 - include/linux/jz4740-adc.h | 33 -- include/linux/ks8851_mll.h | 21 -- include/linux/mtd/latch-addr-flash.h | 29 -- include/linux/platform_data/pata_ixp4xx_cf.h | 21 -- include/linux/platform_data/spi-clps711x.h | 17 - include/linux/pnfs_osd_xdr.h | 317 ------------------- include/linux/power/jz4740-battery.h | 15 - include/linux/sdb.h | 160 ---------- 10 files changed, 727 deletions(-) delete mode 100644 include/linux/cnt32_to_63.h delete mode 100644 include/linux/input/cy8ctmg110_pdata.h delete mode 100644 include/linux/jz4740-adc.h delete mode 100644 include/linux/ks8851_mll.h delete mode 100644 include/linux/mtd/latch-addr-flash.h delete mode 100644 include/linux/platform_data/pata_ixp4xx_cf.h delete mode 100644 include/linux/platform_data/spi-clps711x.h delete mode 100644 include/linux/pnfs_osd_xdr.h delete mode 100644 include/linux/power/jz4740-battery.h delete mode 100644 include/linux/sdb.h -- 2.31.1