Re: [PATCH] scsi: fcoe: simplify if-if to if-else

From: Martin K. Petersen
Date: Tue Apr 26 2022 - 00:01:05 EST


On Fri, 8 Apr 2022 01:12:37 -0700, Yihao Han wrote:

> Replace `if (!is_zero_ether_addr(mac))` with `else` for simplification
> and add curly brackets according to the kernel coding style:
>
> "Do not unnecessarily use braces where a single statement will do."
>
> ...
>
> [...]

Applied to 5.19/scsi-queue, thanks!

[1/1] scsi: fcoe: simplify if-if to if-else
https://git.kernel.org/mkp/scsi/c/65db22e505c4

--
Martin K. Petersen Oracle Linux Engineering