From patchwork Fri Dec 15 12:47:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 122081 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp425231qgn; Fri, 15 Dec 2017 04:49:07 -0800 (PST) X-Google-Smtp-Source: ACJfBovZSAL2f/8z7sc5YmWYddPviKVX1phx1ZvH8lSyXS3ymYXRVB3nZwOSBT6bCnW0CHauIS1j X-Received: by 10.159.242.131 with SMTP id u3mr5595669plr.442.1513342147050; Fri, 15 Dec 2017 04:49:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513342147; cv=none; d=google.com; s=arc-20160816; b=zDDPhks3EyenxR093sxY6my/wr7oVIwA4tcmhqVeApZQfOWrEFI0bAy1HTh6+DSewS lPoZEcvbuS1iDxCUVaeVzDTeLcC52SI/o/pDvIKvbUh/adF8s8Sf8FukxBKjwSTNnsl2 7sQy1fuM56Is2ioo250Hw9BBzH/8rLUwtFOSeMwXk8t3YABv/dL2OttslHtfz5E7ZrdI n3GQRoiNpAFui3a40tBiNfGVV1jvZ5WgD1BwRlk6GLRfR9PO6B8yIUpUbJawOam+1sNK W/p3N998gn0a10c2A3tXGZNYIzK8HiT18JXo+v4q+l6PN2oo31RtPEewTehsZCEgRJr7 pw8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=alMPt46BTxv1D4OflQcg1i01atacYFLLqPIdmKKqRtY=; b=tFWboeDz/QJgYAjANRCtMq6YzbQ9n780QnB5h+J4G2eH5FGZf6Y4/j0Cac8OL9BIni +qA4Sj2EdLfineZRua0sVGicq+k+nj56bVuFenNp56S9vdvKWVm5j+pmLWq6yCFjMoq9 HXSpT86+yxPNSTQ0grHoscCGc7IM8uk80ZnauU77q0P7CDzXzFXgMVqWbD0KRAubJTi0 MvvMeLaFb6bzRZOQ3S5S3EjUBuU/8oQplvkLA54vbJWF3qQ1Ji2eqNzmIl9pfWHZ9NXF mr9zOOgHzOOCWGBglAqjXuNJTH50BW4TMe6VDIuOF8zbm5khXW40jf4b2sWD9PsnYzF4 xutA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si5012825pli.274.2017.12.15.04.49.06; Fri, 15 Dec 2017 04:49:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755792AbdLOMtD (ORCPT + 20 others); Fri, 15 Dec 2017 07:49:03 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:56586 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755414AbdLOMsK (ORCPT ); Fri, 15 Dec 2017 07:48:10 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0MWvbc-1eVJ5B36d2-00W1KR; Fri, 15 Dec 2017 13:48:01 +0100 From: Arnd Bergmann To: Sudeep Dutt , Ashutosh Dixit , Greg Kroah-Hartman Cc: Arnd Bergmann , Vasyl Gomonovych , linux-kernel@vger.kernel.org Subject: [PATCH] misc: mic: remove unused label Date: Fri, 15 Dec 2017 13:47:27 +0100 Message-Id: <20171215124759.2853872-1-arnd@arndb.de> X-Mailer: git-send-email 2.9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ernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A cleanup left an unused label behind: drivers/misc/mic/vop/vop_vringh.c: In function 'vop_ioctl': drivers/misc/mic/vop/vop_vringh.c:1001:1: error: label 'done' defined but not used [-Werror=unused-label] This cleans it up as well. Fixes: 30b7a2c19e29 ("misc: mic: Use memdup_user() as a cleanup") Signed-off-by: Arnd Bergmann --- drivers/misc/mic/vop/vop_vringh.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 diff --git a/drivers/misc/mic/vop/vop_vringh.c b/drivers/misc/mic/vop/vop_vringh.c index b995cf741388..01d1f2ba7bb8 100644 --- a/drivers/misc/mic/vop/vop_vringh.c +++ b/drivers/misc/mic/vop/vop_vringh.c @@ -998,7 +998,6 @@ static long vop_ioctl(struct file *f, unsigned int cmd, unsigned long arg) goto __unlock_ret; } ret = vop_virtio_config_change(vdev, buf); -done: kfree(buf); __unlock_ret: mutex_unlock(&vdev->vdev_mutex);