diff options
author | Nishka Dasgupta <nishka.dasgupta@yahoo.com> | 2019-04-03 01:52:17 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 11:08:00 +0200 |
commit | b5243475c1c7374d5d6761b41a0d332ba032581e (patch) | |
tree | f50b8d10a758a31f5996a1a94b8951f2bc452288 | |
parent | dc2971f20a3c9662b227fd77d39dff398e1f322e (diff) | |
download | linux-b5243475c1c7374d5d6761b41a0d332ba032581e.tar.gz linux-b5243475c1c7374d5d6761b41a0d332ba032581e.tar.bz2 linux-b5243475c1c7374d5d6761b41a0d332ba032581e.zip |
staging: mt7621-dma: Remove print statement on devm_kzalloc error
Remove print statement following error of devm_kzalloc. Issue found with
Coccinelle.
Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/mt7621-dma/mtk-hsdma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-dma/mtk-hsdma.c b/drivers/staging/mt7621-dma/mtk-hsdma.c index 74c374f7bef4..0fbb9932d6bb 100644 --- a/drivers/staging/mt7621-dma/mtk-hsdma.c +++ b/drivers/staging/mt7621-dma/mtk-hsdma.c @@ -665,7 +665,6 @@ static int mtk_hsdma_probe(struct platform_device *pdev) hsdma = devm_kzalloc(&pdev->dev, sizeof(*hsdma), GFP_KERNEL); if (!hsdma) { - dev_err(&pdev->dev, "alloc dma device failed\n"); return -EINVAL; } |