Commit 130b5fb3 authored by Harold André's avatar Harold André Committed by Greg Kroah-Hartman

Staging: ralink-gdma: fixed a brace coding style issue

Fixed a coding style issue.
Signed-off-by: default avatarHarold André <harold.andre@gmx.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 58462a44
......@@ -814,9 +814,8 @@ static int gdma_dma_probe(struct platform_device *pdev)
dma_dev = devm_kzalloc(&pdev->dev,
struct_size(dma_dev, chan, data->chancnt),
GFP_KERNEL);
if (!dma_dev) {
if (!dma_dev)
return -EINVAL;
}
dma_dev->data = data;
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment