Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3537676yba; Tue, 16 Apr 2019 13:31:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlOk90TmzWWim5PGYytbG2bHXG7KmKz56sW2iWdekRsthT3Mr/XZFDD1SCCiW0Ti6CbuDN X-Received: by 2002:a63:158:: with SMTP id 85mr78924954pgb.351.1555446708672; Tue, 16 Apr 2019 13:31:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555446708; cv=none; d=google.com; s=arc-20160816; b=kA58kElhb76qpqi4QnBYMYL60phfiIL8KLjA7cSUlscO5mrTVbjXA+xK2PO54nhScV DEKXOwZO9PwpPg9gm52yqCn6+A7sW63oZ4MOt0sJAZjCKfLjT6snZay2kgTNtb088FXj T7c2vzI90IzPZgS6Tzlmau1iGfw3UvK2uYHdf5vOQftf0wVmkvVNZiVwoAE3f8mwrxR8 uqGtlKRQ7z3OwNmj4RWbz7tI21kXDXRu0CKk64TMDksYMajBMEquvea8h9SvGqqntgEE qaynDEO1ApV1TvP7L7JzstBZtxdu2iF7C9uQqvnG39ny1x+1WOHS2Z4iK1dfWfrCZjC6 +cxA== 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=29EdcudkPIirpeT9Wp23gejH7FPT3e6a1C6ttdo870w=; b=zsCTzoYv15u4mBtOhrCiQWHK6sykAhbiVf+0KIq//DvM9Rjh/4hdDrz63Vl6bU2AyD s2F0AUWTa6OEA3ASC9PoiZ/J+wa/KZRIiES1eQmkVQOGqUifuHmfyCL9RzpIQRlC9FsG 2Y4yjr7WBD7nN2IDleVtk9d/gdTVYnbQ5lsuB5Q2okUpgW7Y90VDrDkHcflMroiaExcE yBD2goo9Sf8CFvKGsFAcp6dgtRuhMu65NakKW0cPkRWE+nHGtCYQuxs20Q1u0WaqUZ2p iERQV2YIBmqzpj//bEZPrK63CLpsAX6Xkd950Xs0eLyQ+gAWHSJlkw252LO+TzuR10Zn c+pw== 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 d12si26383268pgj.177.2019.04.16.13.31.32; Tue, 16 Apr 2019 13:31:48 -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 S1730928AbfDPU3W (ORCPT + 99 others); Tue, 16 Apr 2019 16:29:22 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:44315 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729301AbfDPU2v (ORCPT ); Tue, 16 Apr 2019 16:28:51 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1Mvs2R-1gxjE516Rj-00sujc; Tue, 16 Apr 2019 22:28:50 +0200 From: Arnd Bergmann To: Alexander Viro Cc: linux-fsdevel@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH v3 23/26] compat_ioctl: remove joystick ioctl translation Date: Tue, 16 Apr 2019 22:28:08 +0200 Message-Id: <20190416202839.248216-4-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190416202839.248216-1-arnd@arndb.de> References: <20190416202013.4034148-1-arnd@arndb.de> <20190416202839.248216-1-arnd@arndb.de> MIME-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K PlCPRFuqlh2B9FHxztNSmjwx79kATiSa87ApCA== 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 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 78144a599f36..c81f5241664e 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -11,8 +11,6 @@ * ioctls. */ -#include - #include #include #include @@ -385,11 +383,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)) }; /* -- 2.20.0