smist: Remove unneeded Giant from bus_dma_tag_create().

bus_dmamap_load() call uses BUS_DMA_NOWAIT.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2021-12-09 20:54:22 -05:00
parent e06c67eef8
commit a69f810466

View File

@ -205,8 +205,7 @@ set_ownership(device_t dev)
/*alignment*/ PAGE_SIZE, /*no boundary*/ 0,
/*lowaddr*/ BUS_SPACE_MAXADDR_32BIT, /*highaddr*/ BUS_SPACE_MAXADDR,
NULL, NULL, /*maxsize*/ PAGE_SIZE, /*segments*/ 1,
/*maxsegsize*/ PAGE_SIZE, 0, busdma_lock_mutex, &Giant,
&tag) != 0) {
/*maxsegsize*/ PAGE_SIZE, 0, NULL, NULL, &tag) != 0) {
device_printf(dev, "can't create mem tag\n");
return (ENXIO);
}