Răsfoiți Sursa

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>
Shawn Lin 8 ani în urmă
părinte
comite
7b6bd20bc4
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      drivers/mmc/host/wbsd.c

+ 0 - 2
drivers/mmc/host/wbsd.c

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