From patchwork Wed Oct 9 19:10:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 175639 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1170666ill; Wed, 9 Oct 2019 12:11:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6rqZg7qUTMpcOeQZDB94HyiG93fvCG4uADumbuF1O9R+Q9w6F0GlTdZRJZciAfj/97lr/ X-Received: by 2002:a50:f296:: with SMTP id f22mr4457341edm.69.1570648284140; Wed, 09 Oct 2019 12:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570648284; cv=none; d=google.com; s=arc-20160816; b=JGktsKFO0Zr342w9a/qb8lLkcFUrACkQSaahA2LkbbO3Tq+CF4pb7M7OE/ITfPPpON jVhocp8zU3hOkkMpwVhYykq18z2B2dc4cKkyOKIyjCDP+VsBPfbVl11dreSzOYIx9MdD O/yXna0efXcSDmNrupTBLqIMs+Tyt1DyuZvSm2VNPNHKoWkN/0XcTGArqLjX8P5J9bV1 huFOJEQukeRDKZop0txc0ymzTHrB5p52eBf+2n3YPdiDUdLNqYMZm2LEjmKzTSqW8H4r duUj7X5qmGHAMrBRn/BdjsjPKx+LkpCFE41SG9fqFVpoy7XhSybY9THqdDupTgh1wlbh 4DHg== 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=ZewCud2QjiLPZaWTQ7rbzKAFJuuwnqAlXK2hPH97xuo=; b=IhpgLWbbpO/p8ORbbmc16EgUsQy16f+ff+JPniLqQwZV9ME5ObLo3dUlQ0q37sCqqL UkUh2uxTf4MgxrbTB0yNtTN7apHQjmHlQsGOBK0dwbDi3UFLksqhMDAeFpePrlNKq5EA lK8W1zdu8BGM465f6ttRHTfmE4PyTzz73nKPxjIMSABch5LG7tglw/4YIOBWGM0FiVUj ztNNKIkPsEE+cC7tgPb7gNIM7aBKs4YPfcRdyPG9SnPn4LEQfXptXonmi40dytT4U71i B/GPB8wW650KfrntJ968pciIK268QW/ZSClDMnOew8HL7QeeZ97N/dn7+EKhcuGtRkGz rShg== 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 g30si1996732eda.2.2019.10.09.12.11.23; Wed, 09 Oct 2019 12:11:24 -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 S1731985AbfJITLX (ORCPT + 26 others); Wed, 9 Oct 2019 15:11:23 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:33525 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731839AbfJITLQ (ORCPT ); Wed, 9 Oct 2019 15:11:16 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MUY9w-1iiiBO3dmy-00QSut; Wed, 09 Oct 2019 21:11:14 +0200 From: Arnd Bergmann To: Al Viro Cc: linux-kernel@vger.kernel.org, y2038@lists.linaro.org, linux-fsdevel@vger.kernel.org, Arnd Bergmann , linux-input@vger.kernel.org, Dmitry Torokhov Subject: [PATCH v6 24/43] compat_ioctl: remove joystick ioctl translation Date: Wed, 9 Oct 2019 21:10:24 +0200 Message-Id: <20191009191044.308087-24-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191009190853.245077-1-arnd@arndb.de> References: <20191009190853.245077-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:x2cKbCWiwvtTu0Qle1GTAXaofujFu4TqPOSrzfs49dxShM/dHOg AM8+FdkHPUNbbcajz9XAKdK/00jXiMqsA7QxZ7e5Elfsjj/JgJHiRfQpUiydME6xnaHzZFE DICT07/ckpbdTm8x6zSAJ7ENEf5ADRKW4Hzfzb0uCmZhtzEFqUgBNACJf1folSnv14Ykzwa uLzFp/WEybLIr+pcSNFzg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:3WaeOwFJhJc=:nuObE3Ol7NblOV2/MWCAkC xS4Mgc2fhrU4MUe0GtkE61H5snv7FwEBJsrBMARTxrQ1txWFb5+jhksnjxb9pzXvgtHYoXm3C yH+bOdbsD7kqWzFzzeHZZaKlKuWtx2HuWP0mhVvTgQGuVY4TSSjleq20X6bZOfOU9opdffRir T8/drHeM1JKBUMfsM5iT/JMrtmappIQ2kUea89pFUNVRTDplxOZqdQZYbbEttsejmtLL9f20B h4cegT7gWt0L2WfK1d4VrXqU+ITwBYdNh8VVVCV2Wzk6seGnEzdZgt0Oym8AUP0ShNLv9gMid ACCVpUU89VV3h6sT+mAQ8WfWq4mHBvnVMfojL9NiQvN8E8k6f0PTp9BnIh38xCxiLy/hy9y2e ABmCVY/m7tMwgyTm57UAg514liHZ45SAxnJxu3Vt/3iwrS4dyDiPofBKlWxuVi8C+S7KSIw6y RzL4L6lyQnIvBvMvvlZjXC0FJo5a99j43r2IT88DkGIyvCI57Li2+hCrPg/Dg1E7gtk4sQnnF zYQzkOylD9/IosZV4QxXgS3CQic3e68j23wUHvyd8CbfL0t8MeNB869d9q4jYKBQz74tOpRkv tUHX+uvgRdTG/d3csFoFAUT2DYOuKUyru+Y/52KOXJZsZZLB6OKJF4nwnZWjVTANxC1UG6rFR D+vPkiBVz2icsVJiyw9H6qpoQtvwmMmTzAR84wY6yWhp9v+uTI5ibhcdi1QzQasynrsAmMRx7 JSG7gnWJLTjuBSNfEGz/qAzZ9meKQeivQi18CLzyv5q4zMQ9PXsM4iL7oGbT8jgUuWrCPfbFf Flp1lEd5dd4RKIkV2cBqTDt62t4eYcrFaQez+alalTIGHvZSOxOZGUiIoamsDeP8F0htoga76 uVLyPKoiSKplEYNIawfg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The joystick driver already handles these just fine, so the entries in the table are not needed any more. Cc: linux-input@vger.kernel.org Cc: Dmitry Torokhov Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 7 ------- 1 file changed, 7 deletions(-) -- 2.20.0 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 398268604ab7..a214ae052596 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -11,8 +11,6 @@ * ioctls. */ -#include - #include #include #include @@ -444,11 +442,6 @@ COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO) COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM) COMPATIBLE_IOCTL(PCIIOC_WRITE_COMBINE) -/* joystick */ -COMPATIBLE_IOCTL(JSIOCGVERSION) -COMPATIBLE_IOCTL(JSIOCGAXES) -COMPATIBLE_IOCTL(JSIOCGBUTTONS) -COMPATIBLE_IOCTL(JSIOCGNAME(0)) }; /*