Commit de2ee48c authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f8d3bc10
...@@ -998,7 +998,6 @@ static long vop_ioctl(struct file *f, unsigned int cmd, unsigned long arg) ...@@ -998,7 +998,6 @@ static long vop_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
goto __unlock_ret; goto __unlock_ret;
} }
ret = vop_virtio_config_change(vdev, buf); ret = vop_virtio_config_change(vdev, buf);
done:
kfree(buf); kfree(buf);
__unlock_ret: __unlock_ret:
mutex_unlock(&vdev->vdev_mutex); mutex_unlock(&vdev->vdev_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment