From patchwork Wed Sep 12 15:13:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 146580 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4947984ljw; Wed, 12 Sep 2018 08:15:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbZiXNSiVcouoE6WcDSghNRei7P9Yp+8U6UiZl5ljtfnyLkSPXMQJnjz+4/+I9vK0auOZYr X-Received: by 2002:a17:902:8605:: with SMTP id f5-v6mr2768238plo.271.1536765345151; Wed, 12 Sep 2018 08:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536765345; cv=none; d=google.com; s=arc-20160816; b=oMSzAVFcjmFFkDNwYecTzT3eJPjW1vn8MGEtkGbIKYrGpkPkn9fISiEkLj0vOWhN4p ZnfYMmEyZCOPWtFOwWMiXyvepOB7qblTMkX57WPR7uX/mD+sApAcd0jIEiBdxeVVAk4l 4HihSa0pWPwWTK4GD4qw0WhXWxAIzTMTiE7FpUDQUfhPdwV+dn/DzDMddNWsGaUL90p0 E8AQu8MeQVPPppsCX5TTgicSNpU/qGlaTFFGA06OONd/z/7mZHKMgcagXJcgZlRz85E6 Cze6DHi4dTAHUTr4xHN+3T9y9eMOKrU5T/uGXW6GWiD/J703xT+cnfw03YUaHCR5PxE8 FP5Q== 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=YrWQS2662AotHkTWcW9BDNpM3VPFDVkgOr2Ytpv+Rtg=; b=cwSAIslegS39urhI/K1oKJPKWgZ6zKW26cW8Gfagxqb/K1zsvfKkgZ8CRVtypnjY9Y vMWnSPHrtr+HBiLegaTcWPHI/aJGvuAOanv82RFa0jOfxp8i8GU44mmMg0aBRB0V8q9n mFc/zLBhfr8DD4d+8Vut6CtqLCVF0EIDKYl35wN363AbUAwrSkBfDVGMolh8hcBui14+ d0H74pl0VLj7A5nhC+JqFk4zblde8E1ZUIhokjPvJ0xSyWhhk60IqWBGAxuX/PLwUB3U tzCUSIO9r2icKX37gtaQaXTxMtR4ZIINZMvj5cWXwsaAb7by8yQgpQO5p5naEpcAZ2T+ nrkg== 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 s59-v6si1230228plb.341.2018.09.12.08.15.44; Wed, 12 Sep 2018 08:15:45 -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 S1728094AbeILUUl (ORCPT + 32 others); Wed, 12 Sep 2018 16:20:41 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:48005 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726642AbeILUUk (ORCPT ); Wed, 12 Sep 2018 16:20:40 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1M2fDr-1fzGz42jl9-0047w9; Wed, 12 Sep 2018 17:15:41 +0200 From: Arnd Bergmann To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH v2 14/17] compat_ioctl: remove joystick ioctl translation Date: Wed, 12 Sep 2018 17:13:06 +0200 Message-Id: <20180912151422.571531-5-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180912151422.571531-1-arnd@arndb.de> References: <20180912150142.157913-1-arnd@arndb.de> <20180912151422.571531-1-arnd@arndb.de> X-Provags-ID: V03:K1:GI1gPsQA8YxHO6rmF1znw/bXXzLunbRjNsU4o6L0FDsi6EKjEer d/kkYIc8D83ZfzDt3ExcLAjd0bCw+66E0+xqgbw2ZyQk4QZ1G9K8l4+qteLstvhC304T2oc oQ/hy/CEB6XqMyrORAFp3mf7N3vly/mBmh/QTOXJhk8zHUolrdCXr1x2GXT0Xv0okVa64hZ FXzSGtDi7G+qWvnBLIFww== X-UI-Out-Filterresults: notjunk:1; V01:K0:hkOIWEyC2DU=:GM+jaOzMvQXfoY1PbV7AWc 3h/68Jg7kbjvtQ4FcVFY9kK1w/bQSapln93EpQA3WXGoMrrpG9/SCMpIQdvPNOhamBOVmaDAX Vi1lI679ZgThTK6L1BJ8kChpLYezgVWh8LxYvtvbtAne2WHhPDIDi3OOjgENnzK0FwzYKoTXK Zeg2W7UrlxqPWS9I6FlNQ6U0Wgige82vhaSNWFvCd49aOssVm0OjE09VmbQX7jshw7xVm9KuH omR3Bmwm5qJuGnBIV/MOt+93tls5/FYlnxT2zFdf1bSt2X71E+YvD7/WrzGUUU/6859v1bzvE XVkcUTy999pBQaoKfYI7iygVNEFTGtqyOKWCTa280snVW/X4w96oKoGdl5KmId2SmRr17odha ciXBroCnTUDx6YbV1LLPmvTMc41eCoUWS58i0g4MCBRTpQlnWXqOD+2F7xtCTmkMiUEdAz6fQ jXg+iVHq1Wv6+TU8p4hKmhCQrYf0yq08i0iAh3a8Zd7FAQOM1bV/zHVTT0BvhEFkC9brq3skQ uiRaPirBVAdOADyeAAjsSQcDki0Wg0ThLmCXXMZ/2AsApnhkgXNTsgVR7rjfl3lverxdEN508 ZIwYCCFh8UIxycmFWGRAtfO5HjXeQZQ44OLDKW5g0rGe+qy7mRi1tagV68y9sYcx7zt0PWuSi 7mg9Ua9KyqTMAfOpYlpeCQcn2hK5RxyLPQN/1X5xOpmgSUAIsanS3aI430oSGjpDlKTM= 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 d5b8380fb1b1..0e3a879339c2 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -11,8 +11,6 @@ * ioctls. */ -#include - #include #include #include @@ -870,12 +868,6 @@ COMPATIBLE_IOCTL(CEC_S_MODE) COMPATIBLE_IOCTL(CEC_TRANSMIT) COMPATIBLE_IOCTL(CEC_RECEIVE) COMPATIBLE_IOCTL(CEC_DQEVENT) -/* joystick */ -COMPATIBLE_IOCTL(JSIOCGVERSION) -COMPATIBLE_IOCTL(JSIOCGAXES) -COMPATIBLE_IOCTL(JSIOCGBUTTONS) -COMPATIBLE_IOCTL(JSIOCGNAME(0)) - #ifdef TIOCGLTC COMPATIBLE_IOCTL(TIOCGLTC) COMPATIBLE_IOCTL(TIOCSLTC)