diff options
author | Kai Ye <yekai13@huawei.com> | 2021-03-26 17:09:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-28 14:40:33 +0200 |
commit | f20b2c2a07f88c9a7532578674a60e501a07b839 (patch) | |
tree | 1b320095b29ba90b6bcafe35b3b1fbefc4ebd176 /drivers/misc/uacce | |
parent | 1114ab22e417427d8dced25be02c15f479de8d41 (diff) |
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>
Diffstat (limited to 'drivers/misc/uacce')
-rw-r--r-- | drivers/misc/uacce/uacce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/uacce/uacce.c b/drivers/misc/uacce/uacce.c index d07af4edfcac..94843e0e51c6 100644 --- a/drivers/misc/uacce/uacce.c +++ b/drivers/misc/uacce/uacce.c @@ -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) |