diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2017-07-19 10:55:48 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 15:01:35 +0300 |
commit | 7b6bd20bc4e343094ed0ac650f4fb5d1fdb3d5da (patch) | |
tree | db8c2f1dc2d192e54ab322213fd8df4e6a278c95 /drivers/mmc/host/wbsd.c | |
parent | 03596b927f83004e84cf131aa45c0ee3dfe31b4b (diff) | |
download | linux-7b6bd20bc4e343094ed0ac650f4fb5d1fdb3d5da.tar.xz |
mmc: wbsd: remove CONFIG_MMC_DEBUG from the driver
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>
Diffstat (limited to 'drivers/mmc/host/wbsd.c')
-rw-r--r-- | drivers/mmc/host/wbsd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c index 9668616faf16..546aaf8d1507 100644 --- a/drivers/mmc/host/wbsd.c +++ b/drivers/mmc/host/wbsd.c @@ -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; |