Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5319802ybi; Tue, 30 Jul 2019 18:32:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzU1pwtx1KtXfu21G+z0LGahz3DJ/HaX8m2nsKIT1sv9D0V2MzXTKGuZAyl44aGsmMrIeWM X-Received: by 2002:a63:4a51:: with SMTP id j17mr111228911pgl.284.1564536775241; Tue, 30 Jul 2019 18:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564536775; cv=none; d=google.com; s=arc-20160816; b=Mfd+/yEBBYRWvIEF7LXkJv9jgtYlWqcoNUM/UEj6x7xLCYOvJo4Kcx0Ida+7wFbKxW MGy65Zvc6YWzNDHou+AIzDGwx/qylti4tI7wTfY+blwPnbLXF//CvHQjwntKBgGNX1M6 3a10nOdXoGSnZjruyMB9JXeq96UtSCthT9rrAaXAM8D9cr2n+cOCRoCTyxbzxsXhpK3D o0KCAPLnf/KyeU2zZryJpL5KZRIC3u5MJOE4B+FHdFPVnSFDXDBEVHO7leEOzyo/LMn1 SoqnCzPibJBAjxiQWYX1FJvDgPI3071vLP7ho9tqGSMhWcQC8/FQ46nmSEeU7PYwKHdn GBCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=wQY8Db8nf7xHoq9QUXbPSdb0tD45IjUWJWgFTTgZaCY=; b=ZyX+LjmJ4eAFD7GAa0/QKfq1/nezdZ+/EneVZk1bm3I5rIu3igerIKXQ+ffSXIyL7p iWG7fMTPQq3e7BRZOBGU8G1H1y9y+C5TIF2SstrFx5HcN8wYmQVC/vpN2k9FFVL11HBd aqs+sx0pS73g1rAaj5adNMCp8I6zTLqq+UuLOvXCnJtScMkhogl9g9I5A/ohIW0a2nyM CntnSApE3CgIySiu2iurJFhDnjhaTkfiWLU2BmP7cZIq8MTUKinO0CNOnDtHf+p/X3Pw FRgW/flA5V09+wfZjCosIfehrqm9hap8HeyKOSEzYDIkjIi0B5lVtWEME47JzgkPK4Y8 KYMA== 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 o127si30156215pga.593.2019.07.30.18.32.39; Tue, 30 Jul 2019 18:32:55 -0700 (PDT) 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 S1727798AbfG3UDw (ORCPT + 99 others); Tue, 30 Jul 2019 16:03:52 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:47489 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbfG3UDw (ORCPT ); Tue, 30 Jul 2019 16:03:52 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MFK8N-1i8DfT26g5-00FkfH; Tue, 30 Jul 2019 22:03:50 +0200 From: Arnd Bergmann To: Alexander Viro Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH v5 29/29] compat_ioctl: remove unused convert_in_user macro Date: Tue, 30 Jul 2019 22:01:34 +0200 Message-Id: <20190730200145.1081541-10-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190730200145.1081541-1-arnd@arndb.de> References: <20190730192552.4014288-1-arnd@arndb.de> <20190730200145.1081541-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:UPHnmaxQO2Y5UPjFxToRbWqVgMBmWu69lOVcBLM59CbYK+TCCtk iXAL+WGyqVxND7dGZvj3prqCvzu+zKPkck1Y19QGgPFfYZKw/1a19odfItMh+3Xs7fk20ih KmzNO5tvoX1a2eonX0BqH09rjq6NlGlMujBwXAL6X862s+Rf1an9ITfEdxlm4gfufZMGn+w 8Qs8oUnx83kAYmE6uccPg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:8BsgjV30L1s=:7g7Z6TZ7orqgEjViPiUUIW pQ+vmo7sdb3mi3EDA8aGDQkEkx1UheLDituizs76GJw+v/VWNY9Lg8/pL/ca+AsxcHYCKDLJ5 7oK6vWEPjf7aqoEpbKKKfHR7uJeJ4pGHMIcN1f7h2veYqD2aZPC3V8N+DnOZiQjgZp8JYecTK MCUXDF3GzFJblnKEWQfr0ckbWQh2LyK4gvl01WmmWfMp4e3YueaT6bWWvzeeiDgDV7alEmv6G lTeI1OMwweQetjIry0nKLkVOLT0lcrWjnp2g+hrThGrQkBtPrgQF1A7VRMhlWeyKDgyY129na LemT5BUDGA+fp1Q084pdR5yDHpqPFqHZH+fqAsJ4RW3NvaqiX9VY8gs4rKPpJ16p+v4UN9jRd vhESgtItrUDm1+1F/Rp7hB6NR1KmaZJ3/k8U4VXfqofaGL1+QDS9987yYOoRK9Rnm3ODdU5b6 FJHOLPALtXHpWhnEsiVu6c/BXRuSMNK21tU6oI7mE7cH3zZe+58oHQs2O53w7z77kayiYH/Eo fonUwuIO8hjF56fze0YkgUEV4GPW4bG0+uIySxFSbqS6t2YnQJKVX7zItCTv7NzcmgR0imOJy M1J5T3p/bcywTehZizolm1PwPSo8rKuUiKIogMbJMEskSt9/H3kRtTYGNVkuayI4NS28MeQXh vVui0n2TB6SDM2zUTVQdbbxEhOoW8QlKGLXR6LvFZnyUZQavfcUeLwpJ2IQ7Qb8W4oD5N6JOG +b9uwCsZ8qG8eJ6IQAUi2y4lYGkHUw/05idSiA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The last users are all gone, so let's remove the macro as well. Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 1ed32cca2176..1e740f4406d3 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -52,13 +52,6 @@ #include -#define convert_in_user(srcptr, dstptr) \ -({ \ - typeof(*srcptr) val; \ - \ - get_user(val, srcptr) || put_user(val, dstptr); \ -}) - static int do_ioctl(struct file *file, unsigned int cmd, unsigned long arg) { int err; -- 2.20.0