summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/fwdma.c')
-rw-r--r--sys/dev/firewire/fwdma.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/firewire/fwdma.c b/sys/dev/firewire/fwdma.c
index c8378f0..45598f2 100644
--- a/sys/dev/firewire/fwdma.c
+++ b/sys/dev/firewire/fwdma.c
@@ -160,10 +160,6 @@ fwdma_malloc_multiseg(struct firewire_comm *fc, int alignment,
}
am = (struct fwdma_alloc_multi *)malloc(sizeof(struct fwdma_alloc_multi)
+ sizeof(struct fwdma_seg)*nseg, M_FW, M_WAITOK);
- if (am == NULL) {
- printf("fwdma_malloc_multiseg: malloc failed\n");
- return (NULL);
- }
am->ssize = ssize;
am->esize = esize;
am->nseg = 0;
OpenPOWER on IntegriCloud