mmc: wbsd: remove CONFIG_MMC_DEBUG from the driver
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 19 Jul 2017 07:55:48 +0000 (15:55 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:35 +0000 (14:01 +0200)
wbsd only use this to print some unsupported command.
However the pr_warn should be enough for dynamic log
control and CONFIG_MMC_DEBUG seems bogus here. Remove it.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/wbsd.c

index 9668616faf16bbd5ee81276bb0ce7457f452309e..546aaf8d15078746f2d6e0f0859142d1aca3cd5c 100644 (file)
@@ -802,10 +802,8 @@ static void wbsd_request(struct mmc_host *mmc, struct mmc_request *mrq)
                        break;
 
                default:
-#ifdef CONFIG_MMC_DEBUG
                        pr_warn("%s: Data command %d is not supported by this controller\n",
                                mmc_hostname(host->mmc), cmd->opcode);
-#endif
                        cmd->error = -EINVAL;
 
                        goto done;