diff options
author | Harold André <harold.andre@gmx.fr> | 2019-06-09 12:58:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-09 13:10:28 +0200 |
commit | 130b5fb3738c93e0407f7df8f104deb828e6d67b (patch) | |
tree | 6a102b57afcf6a056a05fc37903b057ba32f9f9c /drivers/staging/ralink-gdma/ralink-gdma.c | |
parent | 58462a443563138907c7595200e1afc59aa90b99 (diff) |
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>
Diffstat (limited to 'drivers/staging/ralink-gdma/ralink-gdma.c')
-rw-r--r-- | drivers/staging/ralink-gdma/ralink-gdma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index de3e357b2640..5854551d0a52 100644 --- a/drivers/staging/ralink-gdma/ralink-gdma.c +++ b/drivers/staging/ralink-gdma/ralink-gdma.c @@ -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); |