Re: [PATCH] drivers/block/zram/zram_drv.c: avoid needless checks in backing_dev_store() failure path

From: Sergey Senozhatsky
Date: Thu Feb 27 2020 - 03:18:21 EST


On (20/02/27 16:12), Yue Hu wrote:
>
> There are null pointer checks in out block if backing_dev_store() fails.
> That is needless, we can avoid them by setting different jumping label.
>

Dunno. Numerous error-out labels to jump to (instead of a single one)
don't really look like an improvement to me.

-ss