disk: sdhc: Remove logging variable when not needed

Remove logging helper variable `trace_dir` from device configuration
data when it is not needed.

Signed-off-by: Markus Fuchs <markus.fuchs@de.sauter-bc.com>
This commit is contained in:
Markus Fuchs 2019-08-11 22:35:44 +02:00 committed by Kumar Gala
commit ff37217117

View file

@ -31,7 +31,9 @@ struct sdhc_spi_data {
u32_t sector_count;
u8_t status;
#if LOG_LEVEL >= LOG_LEVEL_DBG
int trace_dir;
#endif
};
DEVICE_DECLARE(sdhc_spi_0);