git: kernel: Remove unused *.h files from SRCS in kernel module Makefiles.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Jan 4 12:45:08 PST 2019


commit 0ffa96a296bcf3e38b9a03a409a10889186072ae
Author: Sascha Wildner <saw at online.de>
Date:   Fri Jan 4 21:38:57 2019 +0100

    kernel: Remove unused *.h files from SRCS in kernel module Makefiles.
    
    They were found by checking the preprocessed code of the files
    in SRCS to see if the header was included at some point.
    
    After removal, the preprocessed source of a build with the old
    Makefiles was compared against one with the changes (for various
    kernel configurations and when building just from /usr/src) to
    verify that the commit leads to no functional change.

Summary of changes:
 sys/bus/firewire/Makefile                  |  8 +++-----
 sys/bus/iicbus/iicbus/Makefile             |  2 +-
 sys/bus/pccard/Makefile                    |  9 +++------
 sys/bus/smbus/ichsmb/Makefile              |  4 ++--
 sys/bus/smbus/smbus/Makefile               |  2 +-
 sys/bus/u4b/audio/Makefile                 |  4 ++--
 sys/bus/u4b/input/uep/Makefile             |  2 +-
 sys/bus/u4b/input/uhid/Makefile            |  2 +-
 sys/bus/u4b/input/ukbd/Makefile            |  4 ++--
 sys/bus/u4b/input/ums/Makefile             |  2 +-
 sys/bus/u4b/misc/ufm/Makefile              |  2 +-
 sys/bus/u4b/net/aue/Makefile               |  2 +-
 sys/bus/u4b/net/axe/Makefile               |  2 +-
 sys/bus/u4b/net/axge/Makefile              |  4 ++--
 sys/bus/u4b/net/cdce/Makefile              |  2 +-
 sys/bus/u4b/net/cue/Makefile               |  2 +-
 sys/bus/u4b/net/ipheth/Makefile            |  2 +-
 sys/bus/u4b/net/kue/Makefile               |  2 +-
 sys/bus/u4b/net/mos/Makefile               |  2 +-
 sys/bus/u4b/net/udav/Makefile              |  2 +-
 sys/bus/u4b/net/uether/Makefile            |  2 +-
 sys/bus/u4b/net/urndis/Makefile            |  2 +-
 sys/bus/u4b/quirk/Makefile                 |  2 +-
 sys/bus/u4b/serial/u3g/Makefile            |  2 +-
 sys/bus/u4b/serial/uark/Makefile           |  2 +-
 sys/bus/u4b/serial/ubsa/Makefile           |  2 +-
 sys/bus/u4b/serial/ubser/Makefile          |  2 +-
 sys/bus/u4b/serial/uchcom/Makefile         |  2 +-
 sys/bus/u4b/serial/ucom/Makefile           |  2 +-
 sys/bus/u4b/serial/ucycom/Makefile         |  2 +-
 sys/bus/u4b/serial/ufoma/Makefile          |  2 +-
 sys/bus/u4b/serial/uftdi/Makefile          |  2 +-
 sys/bus/u4b/serial/ugensa/Makefile         |  2 +-
 sys/bus/u4b/serial/uipaq/Makefile          |  2 +-
 sys/bus/u4b/serial/ulpt/Makefile           |  2 +-
 sys/bus/u4b/serial/umcs/Makefile           |  2 +-
 sys/bus/u4b/serial/umct/Makefile           |  2 +-
 sys/bus/u4b/serial/umodem/Makefile         |  2 +-
 sys/bus/u4b/serial/umoscom/Makefile        |  2 +-
 sys/bus/u4b/serial/uplcom/Makefile         |  2 +-
 sys/bus/u4b/serial/uslcom/Makefile         |  2 +-
 sys/bus/u4b/serial/uvisor/Makefile         |  2 +-
 sys/bus/u4b/serial/uvscom/Makefile         |  2 +-
 sys/bus/u4b/storage/umass/Makefile         |  4 ++--
 sys/bus/u4b/storage/urio/Makefile          |  2 +-
 sys/bus/u4b/storage/usfs/Makefile          |  2 +-
 sys/bus/u4b/usb/Makefile                   |  2 +-
 sys/bus/u4b/wlan/rum/Makefile              |  2 +-
 sys/bus/u4b/wlan/run/Makefile              |  2 +-
 sys/bus/u4b/wlan/urtwn/Makefile            |  4 ++--
 sys/crypto/Makefile                        |  2 +-
 sys/dev/disk/ahci/Makefile                 |  2 +-
 sys/dev/disk/iscsi/initiator/Makefile      |  1 -
 sys/dev/disk/nata/natacard/Makefile        |  2 +-
 sys/dev/disk/nata/natadisk/Makefile        |  2 +-
 sys/dev/disk/nata/natapicam/Makefile       |  2 +-
 sys/dev/disk/nata/natapicd/Makefile        |  2 +-
 sys/dev/disk/nata/natapifd/Makefile        |  2 +-
 sys/dev/disk/nata/natapist/Makefile        |  2 +-
 sys/dev/disk/sbp/Makefile                  |  7 ++-----
 sys/dev/disk/sdhci/sdhci/Makefile          |  2 +-
 sys/dev/disk/sdhci/sdhci_acpi/Makefile     |  2 +-
 sys/dev/disk/sdhci/sdhci_pci/Makefile      |  2 +-
 sys/dev/disk/sili/Makefile                 |  2 +-
 sys/dev/disk/sym/Makefile                  |  2 +-
 sys/dev/disk/trm/Makefile                  |  3 +--
 sys/dev/disk/vpo/Makefile                  |  2 +-
 sys/dev/drm/drm/Makefile                   |  2 +-
 sys/dev/drm/i915/Makefile                  |  2 +-
 sys/dev/drm/radeon/Makefile                | 12 ------------
 sys/dev/misc/dcons/dcons/Makefile          |  3 +--
 sys/dev/misc/dcons/dcons_crom/Makefile     |  4 +---
 sys/dev/misc/putter/Makefile               |  2 +-
 sys/dev/netif/ath/ath_dfs/null/Makefile    |  2 +-
 sys/dev/netif/ath/ath_rate/sample/Makefile |  2 +-
 sys/dev/netif/iwi/Makefile                 |  3 +--
 sys/dev/netif/iwm/Makefile                 |  2 +-
 sys/dev/netif/lnc/Makefile                 |  2 +-
 sys/dev/netif/wpi/Makefile                 |  1 -
 sys/dev/netif/xe/Makefile                  |  3 +--
 sys/dev/powermng/alpm/Makefile             |  2 +-
 sys/dev/powermng/intpm/Makefile            |  4 ++--
 sys/dev/powermng/viapm/Makefile            |  2 +-
 sys/dev/raid/aac/Makefile                  |  2 +-
 sys/dev/raid/amr/amr_cam/Makefile          |  2 +-
 sys/dev/raid/arcmsr/Makefile               |  2 +-
 sys/dev/raid/asr/Makefile                  |  2 +-
 sys/dev/raid/ciss/Makefile                 |  2 +-
 sys/dev/raid/hpt27xx/Makefile              |  2 +-
 sys/dev/raid/hptiop/Makefile               |  2 +-
 sys/dev/raid/hptmv/Makefile                |  2 +-
 sys/dev/raid/hptrr/Makefile                |  2 +-
 sys/dev/raid/iir/Makefile                  |  2 +-
 sys/dev/raid/ips/Makefile                  |  6 ++----
 sys/dev/raid/mfi/Makefile                  |  2 +-
 sys/dev/raid/mfi/mfip/Makefile             |  2 +-
 sys/dev/raid/mly/Makefile                  |  2 +-
 sys/dev/raid/mrsas/Makefile                |  2 +-
 sys/dev/raid/twa/Makefile                  |  2 +-
 sys/dev/raid/tws/Makefile                  |  2 +-
 sys/dev/raid/vinum/Makefile                |  9 ++++-----
 sys/dev/sound/driver/hda/Makefile          |  4 ++--
 sys/dev/sound/driver/hdspe/Makefile        |  2 +-
 sys/dev/sound/driver/spicds/Makefile       |  2 +-
 sys/dev/video/cxm/cxm/Makefile             |  2 +-
 sys/dev/video/cxm/cxm_iic/Makefile         |  2 +-
 sys/dev/video/vga/Makefile                 |  2 +-
 sys/dev/virtual/virtio/balloon/Makefile    |  1 -
 sys/dev/virtual/virtio/block/Makefile      |  1 -
 sys/dev/virtual/virtio/net/Makefile        |  1 -
 sys/dev/virtual/virtio/random/Makefile     |  1 -
 sys/dev/virtual/virtio/scsi/Makefile       |  3 +--
 sys/libiconv/Makefile                      |  1 -
 sys/net/gif/Makefile                       |  3 +--
 sys/net/ipfw3/Makefile                     |  4 ++--
 sys/net/ipfw3_basic/Makefile               | 12 ++++++------
 sys/net/netmap/Makefile                    |  6 +++---
 sys/net/pf/Makefile                        |  2 +-
 sys/netbt/Makefile                         |  5 +----
 sys/netproto/802_11/wlan/Makefile          |  2 +-
 sys/vfs/puffs/Makefile                     |  4 ++--
 sys/vfs/smbfs/Makefile                     |  4 +---
 122 files changed, 140 insertions(+), 183 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ffa96a296bcf3e38b9a03a409a10889186072ae


-- 
DragonFly BSD source repository



More information about the Commits mailing list