Skip to contentSkip to conversation

uacce: delete not be needed variable initialization

PATCH In review Kai Ye 2 participants 2 messages Mar 25, 2021

Subsystems (2)
lore
Share & tools
lore

Kai Ye

author
#0 lore raw

PATCH v2 1/1 uacce: delete not be needed variable initialization

delete not be needed variable initialization.

---
 drivers/misc/uacce/uacce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/uacce/uacce.c +1 -1
index d07af4e..94843e0 100644
@@ -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)
Signature · 1 line
2.8.1
maintainer
#1 lore raw
Quoted 1 line · Kai Ye

delete not be needed variable initialization.

I am sorry, but I can not parse this sentence. Can you try resending this with a better description?

Quoted 4 lines
---
 drivers/misc/uacce/uacce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

If this is a v2, you have to list below the --- line what changed from previous versions, right? Please do so when you send a v3.

thanks,

greg k-h