Message ID | 20250402125348.7364-1-gshahrouzi@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] staging: media: Remove unnecessary braces for single statement block | expand |
diff --git drivers/staging/media/imx/imx-media-of.c drivers/staging/media/imx/imx-media-of.c index bb28daa4d713..7413551052ae 100644 --- drivers/staging/media/imx/imx-media-of.c +++ drivers/staging/media/imx/imx-media-of.c @@ -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;
Remove unnecessary braces in single statement block to comply with kernel coding style. Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com> --- Changes since v2: * Add missing author * Fix title of email Changes since v3: * Resend using git send-email to fix formatting issues in email body. --- drivers/staging/media/imx/imx-media-of.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)