drivers/rapidio/devices/tsi721_dma.c: delete an error message for a failed memory allocation in tsi721_alloc_chan_resources()
PATCH 70/114 drivers/rapidio/devices/tsi721_dma.c: delete an error message for a failed memory allocation in tsi721_alloc_chan_resources()
From: Markus Elfring <[email protected]>
Subject: drivers/rapidio/devices/tsi721_dma.c: delete an error message for a failed memory allocation in tsi721_alloc_chan_resources()
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>
Cc Matt Porter <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/rapidio/devices/tsi721_dma.c | 3 --- 1 file changed, 3 deletions(-)
drivers/rapidio/devices/tsi721_dma.c renamed from drivers/rapidio/devices/tsi721_dma.c~rapidio-tsi721_dma-delete-an-error-message-for-a-failed-memory-allocation-in-tsi721_alloc_chan_resources +0 -3
@@ -754,9 +754,6 @@ static int tsi721_alloc_chan_resources(s desc =kcalloc (dma_txqueue_sz,sizeof (struct tsi721_tx_desc ),GFP_ATOMIC );if (!desc) { -tsi_err (&dchan->dev->device, -"DMAC%d Failed to allocate logical descriptors" , - bdma_chan->id);tsi721_bdma_ch_free (bdma_chan);return -ENOMEM ; }
_