misc: mic: remove unused label 'done'
authorColin Ian King <colin.king@canonical.com>
Tue, 12 Dec 2017 11:32:00 +0000 (11:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Dec 2017 14:59:18 +0000 (15:59 +0100)
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>
drivers/misc/mic/vop/vop_vringh.c

index bde0305..27db64e 100644 (file)
@@ -998,7 +998,6 @@ _unlock_ret:
                        goto __unlock_ret;
                }
                ret = vop_virtio_config_change(vdev, buf);
-done:
                kfree(buf);
 __unlock_ret:
                mutex_unlock(&vdev->vdev_mutex);