git: kernel: Remove <sys/mutex.h> from all files that don't need it.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Mar 28 05:41:13 PDT 2020


commit f354e0e64689159f00d07d7caa59dab0cea92fcb
Author: Sascha Wildner <saw at online.de>
Date:   Sat Mar 28 13:37:38 2020 +0100

    kernel: Remove <sys/mutex.h> from all files that don't need it.
    
    98% of these were remains from porting from FreeBSD which could have
    been removed after converting to lockmgr(), etc.
    
    While here, do the same for <sys/mutex2.h>.

Summary of changes:
 sys/bus/smbus/ichsmb/ichsmb_pci.c             | 1 -
 sys/bus/u4b/controller/xhci_pci.c             | 1 -
 sys/bus/u4b/template/usb_template_phone.c     | 1 -
 sys/bus/u4b/template/usb_template_serialnet.c | 1 -
 sys/bus/u4b/usb_busdma.c                      | 1 -
 sys/bus/u4b/usb_core.c                        | 1 -
 sys/bus/u4b/usb_debug.c                       | 1 -
 sys/bus/u4b/usb_error.c                       | 1 -
 sys/bus/u4b/usb_hid.c                         | 1 -
 sys/bus/u4b/usb_lookup.c                      | 1 -
 sys/bus/u4b/usb_mbuf.c                        | 1 -
 sys/bus/u4b/usb_parse.c                       | 1 -
 sys/bus/u4b/usb_util.c                        | 1 -
 sys/dev/disk/dm/crypt/dm_target_crypt.c       | 1 -
 sys/dev/disk/iscsi/initiator/isc_cam.c        | 1 -
 sys/dev/disk/iscsi/initiator/isc_soc.c        | 1 -
 sys/dev/disk/iscsi/initiator/isc_subr.c       | 1 -
 sys/dev/disk/iscsi/initiator/iscsi.c          | 1 -
 sys/dev/disk/iscsi/initiator/iscsi_subr.c     | 2 --
 sys/dev/drm/drm_gem.c                         | 1 -
 sys/dev/misc/evdev/evdev_mt.c                 | 1 -
 sys/dev/netif/ath/ath/if_ath_alq.c            | 1 -
 sys/dev/netif/ath/ath/if_ath_btcoex.c         | 1 -
 sys/dev/netif/ath/ath/if_ath_debug.c          | 1 -
 sys/dev/netif/ath/ath/if_ath_ioctl.c          | 1 -
 sys/dev/netif/ath/ath/if_ath_keycache.c       | 1 -
 sys/dev/netif/ath/ath/if_ath_lna_div.c        | 1 -
 sys/dev/netif/ath/ath/if_ath_pci.c            | 1 -
 sys/dev/netif/ath/ath/if_ath_spectral.c       | 1 -
 sys/dev/netif/ath/ath/if_ath_sysctl.c         | 1 -
 sys/dev/netif/ath/ath/if_ath_tdma.c           | 1 -
 sys/dev/netif/ath/ath/if_ath_tx_ht.c          | 1 -
 sys/dev/netif/ath/ath_dfs/null/dfs_null.c     | 1 -
 sys/dev/netif/ath/ath_hal/ah_osdep.c          | 1 -
 sys/dev/netif/bwn/bwn/if_bwn_phy_common.c     | 1 -
 sys/dev/netif/bwn/bwn/if_bwn_phy_lp.c         | 1 -
 sys/dev/netif/bwn/bwn/if_bwn_util.c           | 1 -
 sys/dev/netif/bwn/siba/siba_core.c            | 1 -
 sys/dev/netif/ral/if_ral_pci.c                | 1 -
 sys/dev/sound/pci/emu10kx-pcm.c               | 1 -
 sys/emulation/ndis/kern_windrv.c              | 1 -
 sys/emulation/ndis/subr_hal.c                 | 1 -
 sys/kern/subr_unit.c                          | 1 -
 sys/platform/pc64/x86_64/machdep.c            | 1 -
 sys/vfs/hammer2/hammer2_iocom.c               | 1 -
 sys/vfs/hammer2/hammer2_vfsops.c              | 3 ---
 sys/vfs/nfs/nfs_iod.c                         | 1 -
 sys/vfs/tmpfs/tmpfs_vfsops.c                  | 1 -
 48 files changed, 51 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f354e0e64689159f00d07d7caa59dab0cea92fcb


-- 
DragonFly BSD source repository


More information about the Commits mailing list