From: NeilBrown This warning was slightly useful back in 2.2 days, but is more an annoyance now. It makes it awkward to add new ioctls (that we we are likely to do that in the current climate, but it is possible). Signed-off-by: Neil Brown Signed-off-by: Andrew Morton --- drivers/md/md.c | 5 ----- 1 file changed, 5 deletions(-) diff -puN drivers/md/md.c~md-remove-useless-ioctl-warning drivers/md/md.c --- devel/drivers/md/md.c~md-remove-useless-ioctl-warning 2006-06-09 15:22:55.000000000 -0700 +++ devel-akpm/drivers/md/md.c 2006-06-09 15:22:55.000000000 -0700 @@ -3977,11 +3977,6 @@ static int md_ioctl(struct inode *inode, goto done_unlock; default: - if (_IOC_TYPE(cmd) == MD_MAJOR) - printk(KERN_WARNING "md: %s(pid %d) used" - " obsolete MD ioctl, upgrade your" - " software to use new ictls.\n", - current->comm, current->pid); err = -EINVAL; goto abort_unlock; } _