]> git.baikalelectronics.ru Git - kernel.git/commit
xen: remove redundant initialization of variable ret
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Sat, 19 Sep 2020 03:17:02 +0000 (11:17 +0800)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Sun, 4 Oct 2020 23:41:33 +0000 (18:41 -0500)
commit1fe5552feccc5bf6507c90065f0cb3a3ea74cbe6
tree83647bac01cee3fd6ca5237a3a1b96dad3f987a9
parent6992ab4ab7dad9377b7fe6daaa1850fab3483cd3
xen: remove redundant initialization of variable ret

After commit 477e78a2e989 ("pvcalls-front: Avoid
get_free_pages(GFP_KERNEL) under spinlock"), the variable ret is being
initialized with '-ENOMEM' that is meaningless. So remove it.

Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Link: https://lore.kernel.org/r/20200919031702.32192-1-jingxiangfeng@huawei.com
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/pvcalls-front.c