media: staging: imx: Remove unnecessary braces from if statement

Adhering to Linux kernel coding style guidelines (Chapter 3: Indentation).

Signed-off-by: Ayush Kumar <ayushkr0s@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
Ayush Kumar
2025-11-25 20:23:31 +00:00
committed by Hans Verkuil
parent 08b34f01a9
commit 1cdbadefb7

View File

@@ -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;