From 9891fa5592733757cc4aa1522cd59887bd234c87 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 28 Apr 2019 18:45:44 +0000 Subject: [PATCH] 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 --- sys/x86/x86/busdma_bounce.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/x86/x86/busdma_bounce.c b/sys/x86/x86/busdma_bounce.c index 79eabed65a55..edc90621edf8 100644 --- a/sys/x86/x86/busdma_bounce.c +++ b/sys/x86/x86/busdma_bounce.c @@ -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) {