caif_virtio: Remove redundant initialization of variable err
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Wed, 30 Sep 2020 01:29:54 +0000 (09:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 01:46:16 +0000 (18:46 -0700)
commitf1638a4c7940716b74448cc2f4a15fa43b82eeca
treed2ecff3e6d04dc58841a3ac8aab55b291bd8bab1
parent000fe2685b0a59ade602918a95de450c73aaf6fc
caif_virtio: Remove redundant initialization of variable err

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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_virtio.c