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

Fixed a coding style issue.

Signed-off-by: Harold André <harold.andre@gmx.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Harold André 2019-06-09 12:58:46 +02:00 committed by Greg Kroah-Hartman
parent 58462a4435
commit 130b5fb373
1 changed files with 1 additions and 2 deletions

View File

@ -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);