Message ID | 1383145303-7207-1-git-send-email-ezequiel.garcia@free-electrons.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a911ddc9a0ecbf77a8b2e78dc5c40e5b7bb40d24 |
Delegated to: | Dan Williams |
Headers | show |
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 536dcb8..d00d58e 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -1076,10 +1076,6 @@ mv_xor_channel_add(struct mv_xor_device *xordev, } mv_chan->mmr_base = xordev->xor_base; - if (!mv_chan->mmr_base) { - ret = -ENOMEM; - goto err_free_dma; - } tasklet_init(&mv_chan->irq_tasklet, mv_xor_tasklet, (unsigned long) mv_chan);