diff options
| author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-25 14:30:04 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-31 14:32:02 +0100 |
| commit | d0be67657d64523b4499d385390c08c2bafab1bc (patch) | |
| tree | 2982e48acf699eac835763550663b892303754af /include | |
| parent | ffa375e6e56f890468baf22bcb50ee3d0292a0c4 (diff) | |
| download | u-boot-d0be67657d64523b4499d385390c08c2bafab1bc.tar.gz u-boot-d0be67657d64523b4499d385390c08c2bafab1bc.tar.xz u-boot-d0be67657d64523b4499d385390c08c2bafab1bc.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/fat.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/fat.h b/include/fat.h index 3c29a4484d..8cae283030 100644 --- a/include/fat.h +++ b/include/fat.h @@ -22,7 +22,6 @@ struct disk_partition; #define MAX_CLUSTSIZE CONFIG_FS_FAT_MAX_CLUSTSIZE -#define DIRENTSPERBLOCK (mydata->sect_size / sizeof(dir_entry)) #define DIRENTSPERCLUST ((mydata->clust_size * mydata->sect_size) / \ sizeof(dir_entry)) |
