Re: [PATCH] blk-zoned: Remove unnecessary ‘0’ values from ret

From: Markus Elfring
Date: Tue May 28 2024 - 05:22:45 EST


> 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