uacce: fixup coding style
Subsystems (2)
PATCH 1/1 uacce: fixup coding style
delete invalid and redundant variable initialization.
Signed-off-by Kai Ye <[email protected]>
Reviewed-by Zhou Wang <[email protected]>
--- drivers/misc/uacce/uacce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/uacce/uacce.c +1 -1
@@ -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
Greg KH
maintainerQuoted 1 line · Kai Ye
delete invalid and redundant variable initialization.
Why is it "invalid"? Seems to just not be needed.
And this isn't a coding style issue, your subject line is incorrect :(
thanks,
greg k-h