From de2ee48c39b6af95121b33c6c5531e0475e12a3a Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Tue, 12 Dec 2017 11:32:00 +0000 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mic/vop/vop_vringh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/misc/mic/vop/vop_vringh.c b/drivers/misc/mic/vop/vop_vringh.c index bde0305..27db64e 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); -- 2.7.4