* [PATCH] Staging: ralink-gdma: fixed a brace coding style issue
@ 2019-06-09 10:58 Harold André
0 siblings, 0 replies; only message in thread
From: Harold André @ 2019-06-09 10:58 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Harold André
Fixed a coding style issue.
Signed-off-by: Harold André <harold.andre@gmx.fr>
---
drivers/staging/ralink-gdma/ralink-gdma.c | 3 +--
1 file changed, 1 insertion(+), 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);
--
2.20.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-09 11:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-09 10:58 [PATCH] Staging: ralink-gdma: fixed a brace coding style issue Harold André
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®