remove check for MCI base

This commit is contained in:
none 2021-02-24 20:27:42 +01:00
parent baf6a090b8
commit c6ada48892
1 changed files with 0 additions and 2 deletions

View File

@ -3457,8 +3457,6 @@ static long ddb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
if (msg.link > 3)
return -EFAULT;
link = &dev->link[msg.link];
if (!link->mci_base)
return -EFAULT;
res = ddb_mci_cmd_link(link, &msg.cmd, &msg.res);
if (copy_to_user(parg, &msg, sizeof(msg)))
return -EFAULT;