mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 06:41:39 -04:00
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:
committed by
Hans Verkuil
parent
08b34f01a9
commit
1cdbadefb7
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user