提交 5d2d31dd 编写于 作者: K Kai Ye 提交者: Zheng Zengkai

uacce: delete unneeded variable initialization

mainline inclusion
from mainline-v5.13-rc1
commit f20b2c2a
category: bugfix
bugzilla: 173981
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f20b2c2a07f88c9a7532578674a60e501a07b839

----------------------------------------------------------------------

delete unneeded variable initialization.
Signed-off-by: NKai Ye <yekai13@huawei.com>
Link: https://lore.kernel.org/r/1616749747-3882-1-git-send-email-yekai13@huawei.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NMingqiang Ling <lingmingqiang@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 2a8c1fb3
......@@ -126,7 +126,7 @@ static int uacce_fops_open(struct inode *inode, struct file *filep)
{
struct uacce_device *uacce;
struct uacce_queue *q;
int ret = 0;
int ret;
uacce = xa_load(&uacce_xa, iminor(inode));
if (!uacce)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册