fs: fat: eliminate DIRENTSPERBLOCK() macro
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 25 Dec 2020 13:30:04 +0000 (14:30 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:32:02 +0000 (14:32 +0100)
commitd0be67657d64523b4499d385390c08c2bafab1bc
tree2982e48acf699eac835763550663b892303754af
parentffa375e6e56f890468baf22bcb50ee3d0292a0c4
fs: fat: eliminate DIRENTSPERBLOCK() macro

The FAT filesystem implementation uses several marcros referring to a magic
variable name mydata which renders the code less readable. Eliminate one of
them which is only used for a debug() statement.

Use log_debug() instead of debug().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
fs/fat/fat.c
include/fat.h