[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165094528687.21993.818175220673009011.b4-ty@oracle.com>
Date: Tue, 26 Apr 2022 00:00:40 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-scsi@...r.kernel.org,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
Hannes Reinecke <hare@...e.de>, Yihao Han <hanyihao@...o.com>,
linux-kernel@...r.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>, kernel@...o.com
Subject: Re: [PATCH] scsi: fcoe: simplify if-if to if-else
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
Powered by blists - more mailing lists