ramips: mt7620: eMMC: fix compiler warnings in non-debug mode
authorAndré Draszik <git@andred.net>
Thu, 22 Feb 2018 10:50:29 +0000 (10:50 +0000)
committerMathias Kresin <dev@kresin.me>
Wed, 4 Apr 2018 06:29:17 +0000 (08:29 +0200)
commitcd75d6f7b339b613abbf92091c1baf70238c5f7e
tree7883a23565eabbb5bc77c5bd35e7ad734ac4dcc1
parent584b2a26f5a9e1ffcd93ce8c7a96d7bdfc664f25
ramips: mt7620: eMMC: fix compiler warnings in non-debug mode

drivers/mmc/host/mtk-mmc/dbg.c:51:13: warning: 'cmd_buf' defined but not used [-Wunused-variable]
 static char cmd_buf[256];
             ^~~~~~~

In addition, msdc_reg[] is completely unused, even in debug
mode.

Signed-off-by: André Draszik <git@andred.net>
target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch