Remove witness warning. dmar_bus_dmamap_create() does not sleep.

Sponsored by:	Mellanox Technologies
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2019-04-18 14:03:59 +00:00
parent 1ad4a0314f
commit c07640c430
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346351

View File

@ -371,8 +371,6 @@ dmar_bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp)
struct bus_dma_tag_dmar *tag;
struct bus_dmamap_dmar *map;
WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s", __func__);
tag = (struct bus_dma_tag_dmar *)dmat;
map = malloc_domainset(sizeof(*map), M_DMAR_DMAMAP,
DOMAINSET_PREF(tag->common.domain), M_NOWAIT | M_ZERO);