diff options
| author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-08-09 15:52:17 +0000 |
|---|---|---|
| committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-08-09 15:52:17 +0000 |
| commit | 4466486fb67e8c5ae0de32b865a7e13975deaa83 (patch) | |
| tree | f537be74304279e6f1989a6470f94dfe395e3b65 /sys/dev/mpt | |
| parent | 1691e8bfb19d3b2caac3ced6bf9d2e874c66292a (diff) | |
Notes
Diffstat (limited to 'sys/dev/mpt')
| -rw-r--r-- | sys/dev/mpt/mpt_pci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/mpt/mpt_pci.c b/sys/dev/mpt/mpt_pci.c index b014874e5553..7caf6d4f568b 100644 --- a/sys/dev/mpt/mpt_pci.c +++ b/sys/dev/mpt/mpt_pci.c @@ -654,10 +654,6 @@ mpt_dma_mem_alloc(struct mpt_softc *mpt) len = sizeof (request_t) * MPT_MAX_REQUESTS(mpt); mpt->request_pool = (request_t *)malloc(len, M_DEVBUF, M_WAITOK|M_ZERO); - if (mpt->request_pool == NULL) { - mpt_prt(mpt, "cannot allocate request pool\n"); - return (1); - } /* * Create a parent dma tag for this device. |
