lkml.org 
[lkml]   [2020]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/block/zram/zram_drv.c: avoid needless checks in backing_dev_store() failure path
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

\
 
 \ /
  Last update: 2020-02-27 09:19    [W:0.034 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site