[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <534687df-c200-4741-ad00-a847e8fb8b12@web.de>
Date: Tue, 28 May 2024 11:22:23 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Li zeming <zeming@...china.com>, linux-block@...r.kernel.org,
Chaitanya Kulkarni <kch@...dia.com>, Jens Axboe <axboe@...nel.dk>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] blk-zoned: Remove unnecessary ‘0’ values from ret
> ret is assigned first, so it does not need to initialize the assignment.
* Would a wording approach (like the following) be a bit nicer?
The variable “ret” will eventually be set to an appropriate value
a bit later. Thus omit the explicit initialisation at the beginning.
* How do you think about to use the summary phrase
“Delete an unnecessary initialisation in blkdev_zone_mgmt()”?
Regards,
Markus
Powered by blists - more mailing lists