From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de ([212.227.126.187]:46757 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbeIHTSV (ORCPT ); Sat, 8 Sep 2018 15:18:21 -0400 From: Arnd Bergmann To: viro@zeniv.linux.org.uk Cc: Arnd Bergmann , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/11] compat_ioctl: remove last RAID handling code Date: Sat, 8 Sep 2018 16:28:16 +0200 Message-Id: <20180908142837.2819693-10-arnd@arndb.de> In-Reply-To: <20180908142837.2819693-1-arnd@arndb.de> References: <20180908142837.2819693-1-arnd@arndb.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Commit aa98aa31987a ("md: move compat_ioctl handling into md.c") already removed the COMPATIBLE_IOCTL() table entries and added a complete implementation, but a few lines got left behind and should also be removed here. Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index e755802cd887..bb73d52f02a2 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -676,11 +676,6 @@ static long do_ioctl_trans(unsigned int cmd, case TCSBRKP: case TIOCMIWAIT: case TIOCSCTTY: - /* RAID */ - case HOT_REMOVE_DISK: - case HOT_ADD_DISK: - case SET_DISK_FAULTY: - case SET_BITMAP_FILE: return vfs_ioctl(file, cmd, arg); } -- 2.18.0