mirror of https://gitee.com/openkylin/linux.git
misc: mic: remove unused label 'done'
The label 'done' in function vop_ioctl is not used, so remove it. Fixes build warning: drivers/misc/mic/vop/vop_vringh.c:1001:1: warning: label 'done' defined but not used [-Wunused-label] Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f8d3bc1004
commit
de2ee48c39
|
@ -998,7 +998,6 @@ static long vop_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
|
|||
goto __unlock_ret;
|
||||
}
|
||||
ret = vop_virtio_config_change(vdev, buf);
|
||||
done:
|
||||
kfree(buf);
|
||||
__unlock_ret:
|
||||
mutex_unlock(&vdev->vdev_mutex);
|
||||
|
|
Loading…
Reference in New Issue