staging: media: Remove unnecessary braces for single statement block
PATCH v2 1/1 staging: media: Remove unnecessary braces for single statement block
Quoted 1 line
From
b1b00ec8defda73d871d02dd606286404e42ac00Mon Sep 17 00:00:00 2001
From: Gabriel Shahrouzi <[email protected]>
Date: Tue, 1 Apr 2025 20:22:22 -0400
Subject: [PATCH v2] staging: media: Remove unnecessary braces for single
statement block
Remove unnecessary braces in single statement block to comply with kernel coding style.
Signed-off-by Gabriel Shahrouzi <[email protected]>
---
Changes since v2:
* Add missing author
* Fix title of email
--- drivers/staging/media/imx/imx-media-of.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/media/imx/imx-media-of.c +1 -2
@@ -57,9 +57,8 @@ int imx_media_add_of_subdevs(struct imx_media_dev *imxmd,of_node_put (csi_np);if (ret) {/* unavailable or already added is not an error */ -if (ret == -ENODEV || ret == -EEXIST ) { +if (ret == -ENODEV || ret == -EEXIST )continue ; - }/* other error, can't continue */ return ret;
Signature · 1 line
2.43.0