Remove witness warning, same as r346351 for busdma_dmar.

bounce_bus_dmamap_create() does not sleep either.

Sponsored by:	Mellanox Technologies
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2019-04-28 18:45:44 +00:00
parent f9fffe9e2b
commit 9891fa5592
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346851

View File

@ -286,8 +286,6 @@ bounce_bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp)
struct bounce_zone *bz;
int error, maxpages, pages;
WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s", __func__);
error = 0;
if (dmat->segments == NULL) {