diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 6efc81ea5dc5..7befdaee555a 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -690,11 +690,6 @@ static int mmc_blk_ioctl_multi_cmd(struct block_device *bdev, static int mmc_blk_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) { -#ifdef CONFIG_ARCH_ROCKCHIP - if (cmd != MMC_IOC_CMD && cmd != MMC_IOC_MULTI_CMD) - return -EINVAL; -#endif - /* * The caller must have CAP_SYS_RAWIO, and must be calling this on the * whole block device, not on a partition. This prevents overspray