From patchwork Sat Sep 8 14:28:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 146239 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp627663ljw; Sat, 8 Sep 2018 07:31:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdayrwZIinJ29YbrdM5gl/cv/YRzFnPT+hSwNSAEX7K3biBqQeIaHA9ppPoDtOkwWQC5LC9G X-Received: by 2002:a63:6c89:: with SMTP id h131-v6mr13478053pgc.237.1536417102337; Sat, 08 Sep 2018 07:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536417102; cv=none; d=google.com; s=arc-20160816; b=M/1YddFkOkku3xu3yXW5/iQZRMPSJPRH689S1qZBLtOI3qjfr5pKzqG6uuPep272Mz xJOT1HURoWLS7+eP4HPEZxODhjEWEMGUuco1gjzTIgx3ThaQKUtgIgpZU2i52ofZu2q7 ffYPJR7GI6wS5AOkECL2+4uyjRNDKHtvcT90o6T68MICG9rk5wui2+PUr8pqnlQG1z2i Rr5w9CZ4lTH+yPQ0VcvL4Pco475JxYV/vz1W2/D8i1MXWIxXqbl+N9BHMJ5YKVgbHNZ/ 0cvPOhsHpUhbuC22b77M1hkFxvfNCp3hWUKg2UJBvu9jgzSN9QZRp/VcUDtaPSv49BDz jJkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=nEs/EXsZ1ZF46QtV1Ll5Z66eBtAmzKVNQtMHfjtw1mE=; b=C0bSqn6ApncOUwGFNENfoMzJ9w1S7NOT0802IhjqK2mz/vKqgGxbW0pyb1di6h8vUY jaQSUNdUvcVoMR9E3GrPBJ74dX2EM67tYnIHluxu+Mr+E2iGfdKSl9QASN4PGdFoISnV 36i20nBXJYSnNegtF2RnxN5bQnpwKVqhXy03H9MyTRgZT6XXTmYWotjMeQdxcNPTk7Af wmIFkcAMCbfhG4UajAwBl/IvdrSg+27HmaqCqFbncUc56pbGgPpQ1vhXyrC9Nao6+i6+ IzV12QrcHRtNiqqDmhUrRodXWjvks/T1wyvajlKEzyh1Oy79ADEBIioIBqEvAI7ksheP pXfQ== 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 d130-v6si11512611pfg.257.2018.09.08.07.31.42; Sat, 08 Sep 2018 07:31:42 -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 S1727701AbeIHTRj (ORCPT + 32 others); Sat, 8 Sep 2018 15:17:39 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:34378 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727009AbeIHTRj (ORCPT ); Sat, 8 Sep 2018 15:17:39 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1M1HuU-1g0IAC2sPq-002m0e; Sat, 08 Sep 2018 16:31:38 +0200 From: Arnd Bergmann To: viro@zeniv.linux.org.uk Cc: Arnd Bergmann , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/11] compat_ioctl: remove joystick ioctl translation Date: Sat, 8 Sep 2018 16:28:13 +0200 Message-Id: <20180908142837.2819693-7-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908142837.2819693-1-arnd@arndb.de> References: <20180908142837.2819693-1-arnd@arndb.de> X-Provags-ID: V03:K1:wzPDog2sf4LNWniMkNTBPh+9VsaUDQDMSz61f4KlH9gIoo3lROa ZWAcpZN+1qFk+2NazzedX63oqEE/GGGabgVlemlfNwj+yClqpb/SFcSxx51eziD6ugrVhpQ RbsCG8MNGr+vHax24qVphlSvVKh8CKCxTFYrgvRmoma7BSP71E80ZRJLt3N1rMxGhLH+kov edox9FFrWg0GH9nfMjPKg== X-UI-Out-Filterresults: notjunk:1; V01:K0:5zUYGzFksIY=:QXLXW/sNKeSUfKwP9Stk2J 316Iiawm1j/ia7aCcbhk6/ygop1+q44gPy4aWRx3mad3O1oG+Wr5OlFjh9/ra6OU/oNDQoa/K ZaRpsHPqigN3w8bcZ1ugkO1XjLmIL7Jzq24CzA2zU+qvAluwuRnsjTb/+BeP4pHNGQcNi1IvW 7FW4X1WHEa3ikyD1OzduxqzU0+zYuyfUOQOHepB1ofv8L7hXt1kOSRBwNgo8lDFE5m92lA+1M rq5dC8DUIaQijgBya25QJTY5pogpAuhM8SMx34SOKt6eZKM9k2JECyrVeK+BtDwgTmfxqqFtS wu3LPnyyo0qJhV+CygQj/hGF5KCwhNu9U48xczTwHmE+w9PfkuPKZeSoBQ/vu9YtidFPKwnnd 1sZQvSOWG78uzuFbS/R/8rhrTIU9mxG6Y5Si97MVwf4nJGtUXJDauFMXzUa8zgTQEaC/j19q3 8E5lc9Y8ZtBYqmUy/j0K7AcqqU4ij2FUVZJtCRIGSab4FQD006+I27MNzQDD+V8XuF23+xmSZ M31m8GodBlsmQ1U05XcigFRyyYJvImCwmNkAAFo6MVk5bcEtwoECG6IXhhY21vQmF9pvLnHM3 C5IWvu6EC3KnMgKTbVN1fGkekUJG9PUZlYSihgCkxEFf/x4GbkBK2eLYXbtfLB0fIc/aopMb1 hToOxAwPoPpHbslnJt/EzXcZABztbZsJgigl1Skxn1Q8Ys9Ym6WFW3oCljqdWndwd7dM= 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. Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 8 -------- 1 file changed, 8 deletions(-) -- 2.18.0 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index eb29188d1dbb..23c0406d8b30 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -11,8 +11,6 @@ * ioctls. */ -#include - #include #include #include @@ -646,12 +644,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)) - #ifdef TIOCGLTC COMPATIBLE_IOCTL(TIOCGLTC) COMPATIBLE_IOCTL(TIOCSLTC)