Skip to content
Commit 035a6958 authored by Li Zetao's avatar Li Zetao Committed by Juergen Gross
Browse files

xen: xenbus: Use helper function IS_ERR_OR_NULL()



Use IS_ERR_OR_NULL() to detect an error pointer or a null pointer
open-coding to simplify the code.

Signed-off-by: default avatarLi Zetao <lizetao1@huawei.com>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20230817014736.3094289-1-lizetao1@huawei.com


Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 71281ec9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment