From: Shawn Lin Date: Wed, 19 Jul 2017 07:55:48 +0000 (+0800) Subject: mmc: wbsd: remove CONFIG_MMC_DEBUG from the driver X-Git-Tag: v4.14-rc1~116^2~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b6bd20bc4e343094ed0ac650f4fb5d1fdb3d5da;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c index 9668616faf16b..546aaf8d15078 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;