diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-12-21 13:57:13 +0100 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2018-02-16 20:19:43 -0500 |
commit | 247191a0f7d2143212240bf89d8ef0f1be0f635f (patch) | |
tree | ddbf8ec04d8f9eef9fc232297c4addc367dc0ff8 | |
parent | a1a6120c34133d87bedfb04ab06ce43097c5e0d2 (diff) | |
download | mmc-utils-247191a0f7d2143212240bf89d8ef0f1be0f635f.tar.gz |
mmc-utils: remove unused #includes
I didn't find any functions used for which the documentation specifies to
use (at least) one of the dropped headers.
The only Linux specific header <linux/fs.h> is needed for BLKGETSIZE,
document that.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Chris Ball <chris@printf.net>
-rw-r--r-- | mmc_cmds.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -22,17 +22,13 @@ #include <string.h> #include <sys/ioctl.h> #include <sys/types.h> -#include <dirent.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> -#include <libgen.h> -#include <limits.h> -#include <ctype.h> #include <errno.h> #include <stdint.h> #include <assert.h> -#include <linux/fs.h> +#include <linux/fs.h> /* for BLKGETSIZE */ #include "mmc.h" #include "mmc_cmds.h" |