summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-12-12 11:32:00 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-18 15:59:18 +0100
commitde2ee48c39b6af95121b33c6c5531e0475e12a3a (patch)
treecaed5a688f73e50f30fa89f5b6657a7b2dba7800 /drivers/misc
parentf8d3bc10041914cceef4585a38cfdc071724b2a7 (diff)
downloadlinux-de2ee48c39b6af95121b33c6c5531e0475e12a3a.tar.bz2
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/mic/vop/vop_vringh.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/mic/vop/vop_vringh.c b/drivers/misc/mic/vop/vop_vringh.c
index bde0305ebd91..27db64ec9efe 100644
--- a/drivers/misc/mic/vop/vop_vringh.c
+++ b/drivers/misc/mic/vop/vop_vringh.c
@@ -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);