uacce: delete unneeded variable initialization

delete unneeded variable initialization.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Link: https://lore.kernel.org/r/1616749747-3882-1-git-send-email-yekai13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Kai Ye 2021-03-26 17:09:07 +08:00 committed by Greg Kroah-Hartman
parent 1114ab22e4
commit f20b2c2a07

View File

@ -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)