From patchwork Tue Apr 16 20:28:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 162377 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4661780jan; Tue, 16 Apr 2019 13:29:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyy+B/w4md572TZDhXac9ZdZi2vZbnvMNDyeA64rFQjug/LT77qxggaRAm9QLZUpHiG28rc X-Received: by 2002:a63:195e:: with SMTP id 30mr78040740pgz.312.1555446550426; Tue, 16 Apr 2019 13:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555446550; cv=none; d=google.com; s=arc-20160816; b=ASdUikCSor6/PJOZu5z+orDZbWa1UkABfCqBAg8TrmNFR8KDfFTziZ6zgywgMqtRf9 l7xTBIxI0DGobD3W74dPchAiszEI08jXA2/QY/mkg/2wSW4YLje0waaJ6wHxb7kOnPcY ICeYMrYbqRkDjaLvongquGPtUrFskDigMb4x+JZaqU7gj4uoI4DCYkmGpkTkr0n86XmI v6nyeOF0pm2i+kWVPJIWqLk/bqFWt+FpPxymU3hwotGmVLWgSsYx6xNDcHLJJy4Eb06K TimwUZhzRasLgwel64QH2TKvWTycto7rc6eT0vM0QXG7XiPaf2Tn70nW9Yi7UTAPfhIB n5nA== 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=CO39L8j6trBPmoB7xRs2q3Jc3PmlZlp33H7e8VADE84=; b=0lI+B1Dtg7rNtSXmo2rKbFn4/W+b+Y8ttSKZJU4dEt6XEYylyeihrMO143PD7UBWbb R/WnY6GQ1UrhnzZDkfLmJDmwteCazt+c5Sa5W2EZCug5BlBQqLcvyjqCJnmXPTW9v0kL 2tvZVZM50mEhi5dZiOMreqReNSINqlLG7xtg0MVQT3Z6IVmYk8X78SyVLYG9Ui2tvv8l 4N3/4ESk5au20yQKlabBEybfrLS3nPF5T7Wgi8yweK3ZmrOd/cZavhnlL5t7wFHlFACN +z1iWn9wUan6nmGp91ZbJky25oX00FyKft+NhQ8EPs16ziV/C7umbbfGEfEVQWoIxy3w axWw== 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 i19si31819979pfr.246.2019.04.16.13.29.10; Tue, 16 Apr 2019 13:29:10 -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 S1730925AbfDPU3J (ORCPT + 30 others); Tue, 16 Apr 2019 16:29:09 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:53459 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730848AbfDPU24 (ORCPT ); Tue, 16 Apr 2019 16:28:56 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1MVv8f-1hOVTH1lqP-00RnRe; Tue, 16 Apr 2019 22:28:54 +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 25/26] compat_ioctl: remove /dev/raw ioctl translation Date: Tue, 16 Apr 2019 22:28:10 +0200 Message-Id: <20190416202839.248216-6-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-Version: 1.0 X-Provags-ID: V03:K1:NKIzQHvuacGsem/0YDjZ3Izh6l5C5RHpSzcw7X9OoSF6amjB0YN Rv4RXuFB9buqWJ4GsMEJQE+YxpgX8c1r+5XmCA5sxNENCibx9F2/boVq9R9nytEvRR1DChd GAqsPIVH+O5yK1QJbxmNC8VnQX2NhlBwa/clejshWUS09LL/kjkc80ee/jP+H+thdSWpdWF f2tFbVe+J8k4tQwLJOtpg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:5kUueMKFZno=:58w6mRrXu4tJlh6xNrUKvO Y74U2UcO9xkjcJAX4FpJCMVGz+otAYlcQ9FwVvy5Qhbh7l5BWde6fM0Ak3Qew15v0ovrIITVH jH6I9J4p/bK+Vi3LXQqz+zBxTExYYpO0VQJ7U/rBJT1JW0vrU2yRJjH45WrAsq8rMytlSYUk9 TIFVMwPxKwpDbFHV6YExRDoEfkQDlZvOjY+YVbaw34LT6BDpCej6zVH84xW6ocJkyMgqV6AfG FsGZZKLt/tQK64Q6f5XJOGhHQizJ8cVT7xK60wVUEbrgyfx+fku78IMwP4f39RgaqHl1IL4O3 YUvKQattficKKnhsH0Pv6468eDY5KwIKUQdCgA1EBzcSYW5ztYq4v8V6GrYa03tZZVs2F8l27 rVDt2PGh9xvzE94npPZJag1CAJWrLK6xty/QFoiAM1GvzbI9zfYVT41gFN1lEPl7ymbgQ/v9q e1uGxFnxiheSfq1krRUhNjL3aG3ITT0+J1wBcNQW4rJAun6onCo82iyuBpcOUWkNZ5tK90Zjl 9uNPiwtCNa9AR0KqySXOEcWvJfQ+qxftfYeDPCQwHmWstgi2BJdIesCzA+FTMXPYWSn0YgdU1 uZo4hwIyB77UNT3ncxwFjvXQ0bViRzhWjRF1zqKa7s9Ul+1VU4Mjkl1oQYYft1MiZzYX2+GvX FMFr681BwG/a85FS6b/mIl0zvYSDgTBrd+vX7QXdLn/QBsM3SULLHUjM5ySFxg6fPQ4WcaJeY yDPyARokE0O5S6NGzVBTvd9UMOUGyTb/qsssqg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The /dev/rawX implementation 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 | 4 ---- 1 file changed, 4 deletions(-) -- 2.20.0 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 6ad45550b4b1..63de00cc85df 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include @@ -363,9 +362,6 @@ COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) /* PPP stuff */ COMPATIBLE_IOCTL(PPPIOCGUNIT) COMPATIBLE_IOCTL(PPPIOCGCHAN) -/* Raw devices */ -COMPATIBLE_IOCTL(RAW_SETBIND) -COMPATIBLE_IOCTL(RAW_GETBIND) /* Watchdog */ COMPATIBLE_IOCTL(WDIOC_GETSUPPORT) COMPATIBLE_IOCTL(WDIOC_GETSTATUS)