Re: [PATCH] caif_virtio: Remove redundant initialization of variable err

From: David Miller
Date: Thu Oct 01 2020 - 21:46:29 EST


From: Jing Xiangfeng <jingxiangfeng@xxxxxxxxxx>
Date: Wed, 30 Sep 2020 09:29:54 +0800

> After commit a8c7687bf216 ("caif_virtio: Check that vringh_config is not
> null"), the variable err is being initialized with '-EINVAL' that is
> meaningless. So remove it.
>
> Signed-off-by: Jing Xiangfeng <jingxiangfeng@xxxxxxxxxx>

Applied to net-next.