]> git.baikalelectronics.ru Git - kernel.git/commit
md: remove unnecessary test for MD_MAJOR in md_ioctl()
authorNeilBrown <neilb@suse.de>
Tue, 30 Sep 2014 05:36:28 +0000 (15:36 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 14 Oct 2014 02:08:29 +0000 (13:08 +1100)
commit16e1708d8afd6cb392bce6f39c12200a0a0d5fc8
tree477ebc0efa842f88a66486e5621ad73a49d532ea
parent9fd859d7f2c65bdb90af59f200a7e3585cb951cf
md: remove unnecessary test for MD_MAJOR in md_ioctl()

unknown ioctls no longer get this deep into md_ioctl since
md_ioctl_valid() was introduced in 3.14.
So remove the test and the misleading comment.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c