forked from Minki/linux
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:
parent
58462a4435
commit
130b5fb373
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user