summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mic
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-12-12 12:32:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-18 15:59:18 +0100
commitde2ee48c39b6af95121b33c6c5531e0475e12a3a (patch)
treecaed5a688f73e50f30fa89f5b6657a7b2dba7800 /drivers/misc/mic
parenteeprom: at25: Add DT support for EEPROMs with odd address bits (diff)
downloadlinux-de2ee48c39b6af95121b33c6c5531e0475e12a3a.tar.xz
linux-de2ee48c39b6af95121b33c6c5531e0475e12a3a.zip
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/mic')
-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);