]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: Remove unnecessary braces from if statement
authorMalkoot Khan <engr.mkhan1990@gmail.com>
Thu, 28 Dec 2023 21:08:58 +0000 (21:08 +0000)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 26 Feb 2024 07:30:40 +0000 (09:30 +0200)
commit8a5be2b62ba114ab11bf5c26282990c042df4409
tree8fdfcf7875817afc4f35fe38b87030e5e765916d
parentf728c17fc97aea7a33151d9ba64106291c62bb02
accel/habanalabs: Remove unnecessary braces from if statement

The coding style in the Linux kernel prefers not to use
braces for single-statement if conditions.
This patch removes the unnecessary braces from an if statement
in the file drivers/accel/habanalabs/common/command_submission.c,
which also resolves a coding style warning.

Signed-off-by: Malkoot Khan <engr.mkhan1990@gmail.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/command_submission.c