[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164737692606.34720.13651107602467649811.b4-ty@kernel.dk>
Date: Tue, 15 Mar 2022 14:42:06 -0600
From: Jens Axboe <axboe@...nel.dk>
To: linux-block@...r.kernel.org,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
Christoph Hellwig <hch@....de>
Cc: "James E . J . Bottomley" <jejb@...ux.ibm.com>,
clang-built-linux@...glegroups.com, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org,
"Martin K . Petersen" <martin.petersen@...cle.com>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] sr: simplify the local variable initialization in sr_block_open()
On Mon, 14 Mar 2022 16:03:21 +0100, Lukas Bulwahn wrote:
> Commit 01d0c698536f ("sr: implement ->free_disk to simplify refcounting")
> refactored sr_block_open(), initialized one variable with a duplicate
> assignment (probably an unintended copy & paste duplication) and turned one
> error case into an early return, which makes the initialization of the
> return variable needless.
>
> So, simplify the local variable initialization in sr_block_open() to make
> the code a bit more clear.
>
> [...]
Applied, thanks!
[1/1] sr: simplify the local variable initialization in sr_block_open()
commit: 79d45f57a19537a1ec6ebf836944e968b154f86e
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists