ramips: mtk-mcc: move cmd_buf for dbg under ifdef
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 May 2023 21:16:13 +0000 (23:16 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:38 +0000 (03:15 +0200)
commit3fa87858a790008b145b6ef41e0476a36c256143
treec1301b054079e5f9369860b0098f290af829c7c1
parentaa7a2d971e5117216dca6cd0d7c41efa9235b0e6
ramips: mtk-mcc: move cmd_buf for dbg under ifdef

Move cmd_buf for dbg under ifdef to fix compilation warning:
drivers/mmc/host/mtk-mmc/dbg.c:51:13: error: 'cmd_buf' defined but not used [-Werror=unused-variable]
   51 | static char cmd_buf[256];
      |             ^~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/ramips/files/drivers/mmc/host/mtk-mmc/dbg.c