Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3535435yba; Tue, 16 Apr 2019 13:29:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxka+TJizB47pWQh5A63UBqLhukTcPVt/AhHsftg+dYtmOSJ/ahhWuqsR41XM/WD/W88bOW X-Received: by 2002:a62:fb0a:: with SMTP id x10mr85717045pfm.179.1555446540149; Tue, 16 Apr 2019 13:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555446540; cv=none; d=google.com; s=arc-20160816; b=PVCuDnr/IA6u7lR7szrQTbJuiwI5aTuegsSodocfhNA0x+0MPUMXVt1164PPnjZxm+ ziee99jRLXOB2AuHS36hQvC8GpQaKoSUC8vaV6CtK3SRP+VuMcQHOhckvpDIzi1C8iyr ZSiJ4q9HqLC4tmhOEvoKXEcsmkTqmQ23/kwdKv/nov4K1fxR4xp45e5Fel/HBHgmNOsc d+aVosTiu4ubb86/JQBnd3MGzb90HVgj2A6LJaCDL5ACZsKE9CBNcOSSQBwuOlxz2qWx LUBNruNDjPaxZ+w0p5aLwVW0HsbnM0iMv1hqR2YzPnLmGFAEEVJCAw1KgMVQh9gHlDk4 frQw== 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=Q3kU5t0xL9hThEhrshcIZHIP5cPmlmIzGCW/p7DI2pc=; b=nZUZF1aggbzI5GZnuWtWDqFovwDZ/HLIYoG0MYDpcQSWCr3JlsURC5q0kbP+4LEGUB 9uRX6xokJbNiAoR+C1U/sh+jjUDoZYGPsPGdYvyp8Odo2EU7+ZSQwbMMGmAGyg3T5Klx ZtFCaAJCw6moV0qJeseBVWCgRkS6Cmv2lMdTYl+AdVEsDm1gpfktPtC9aLGeqFigsRa8 TWp3ilIux8aG7vggDulsAatKc4Mir9o+5wC6+V8wVM3/oYSJKAPJP98RC9oVr17QdTZe d8uVwsAIUpWDab1qVIDPlID5zI9piDwzZzyo6VPtHCws2N24tPMvOPYxoZN8Oe687He2 oOuQ== 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 h189si36642277pfc.283.2019.04.16.13.28.44; Tue, 16 Apr 2019 13:29:00 -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 S1730534AbfDPU2E (ORCPT + 99 others); Tue, 16 Apr 2019 16:28:04 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:43067 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728373AbfDPU2A (ORCPT ); Tue, 16 Apr 2019 16:28:00 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MQMmF-1hU1KW3QCP-00MLi9; Tue, 16 Apr 2019 22:27:57 +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 18/26] compat_ioctl: remove HCIUART handling Date: Tue, 16 Apr 2019 22:25:39 +0200 Message-Id: <20190416202701.127745-7-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190416202701.127745-1-arnd@arndb.de> References: <20190416202013.4034148-1-arnd@arndb.de> <20190416202701.127745-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:boivb7CwWV0bFt89B3RR2qvpQAzVzaYo05QGrOe2sRKMw5YXRh+ 8CsmlPybzsy/eW9KAAiDzwhfYIM4HNFLpbh4N/+N2BA1+Zmn2H8St3DS74fdn5dRpHQ/pZq W6oIyOeiJg7JxbitmkzvTKcIsfkpxggJXuxON1B9RAXe4/sm3LSnyW5ucY37Ut2VXf/6VFS 5WjtViPx9Xh6FcXRzWzWA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:bz5QFlz3xZQ=:0fUVQCoXsV0wy15sX8jem0 q2xNLR6CxZs/1XZVLUAopx/3ENqMHGO3mpivFDaxh0UQtpG5hAcyImhizAunChsOucZQb6Zjj vdVkTiSA1QDpe4tedYBQc9Y/w7dUWlBC6rP6t0Aa8SahOvmn8Grkvsrcg/6NfFaIflhoeFWwn uDWFTb2+ap3xbGGfqgHePVJoXWza50zV0x84IymbuWvHZ1WoI188xfbfz8Dk0QLH2qzsAMcMP g4N9VrQgcJX01mTKSCvHQC9WafwN/AbUJCeAkV9ccDefVauPuvC5VliJ3iBuIzfzELWjYJGi0 v2eNMsO1HH+Bdta/aN4tAknfgJ7lfAidT0QafxG9cyaJImkaEPAgUE3Al1WyHGjXRQKQtDnjn PG0ESwnyYcl2E+mDDQd9m3xN3lQSC1kNzVUuAvryhcHaGmWlR9F/numCYU6AgzKL6su0wDk2Q wc3d0+55PyNAC65B+VepIvC2FaKMMaEbySq6S49hIkXHMNF5L+UcRRfrGXjU2kr8ztqONxvbY Oezt/yVHPcAMCasp9xf47Y6dqPOcpcSpRChosAU1WUq092fagK0LRergm9f3ot4M1IkVTOEg0 /zmT3sYsJo2Kgox0XpUpl9fRYxdde89hYNHyRhX9SsL/CDM0Ii8dDD4Mcy3xJeBaznE5P7stu FgrAj+RSuxWSHEnmzzEoQIe1wuKovz4spaw2scKY7RL+15lpYQl/Y2oLw8Da36kMbsY+c00Ih Rq1fRQmoJTa1oEqPNX9xSqvQkgpgSUaDR6tPyQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As of commit f0193d3ea73b ("change semantics of ldisc ->compat_ioctl()"), all hciuart ioctl commands are handled correctly in the driver, and we never need to go through the table here. Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 9024cae05eda..9e96b8b63578 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -273,13 +273,6 @@ static int sg_grt_trans(struct file *file, #endif /* CONFIG_BLOCK */ -/* Bluetooth ioctls */ -#define HCIUARTSETPROTO _IOW('U', 200, int) -#define HCIUARTGETPROTO _IOR('U', 201, int) -#define HCIUARTGETDEVICE _IOR('U', 202, int) -#define HCIUARTSETFLAGS _IOW('U', 203, int) -#define HCIUARTGETFLAGS _IOR('U', 204, int) - /* on ia32 l_start is on a 32-bit boundary */ #if defined(CONFIG_IA64) || defined(CONFIG_X86_64) struct space_resv_32 { @@ -583,12 +576,6 @@ COMPATIBLE_IOCTL(RNDGETPOOL) COMPATIBLE_IOCTL(RNDADDENTROPY) COMPATIBLE_IOCTL(RNDZAPENTCNT) COMPATIBLE_IOCTL(RNDCLEARPOOL) -/* Bluetooth */ -COMPATIBLE_IOCTL(HCIUARTSETPROTO) -COMPATIBLE_IOCTL(HCIUARTGETPROTO) -COMPATIBLE_IOCTL(HCIUARTGETDEVICE) -COMPATIBLE_IOCTL(HCIUARTSETFLAGS) -COMPATIBLE_IOCTL(HCIUARTGETFLAGS) /* Misc. */ COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO) -- 2.20.0