Commit 247191a0 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Chris Ball
Browse files

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarChris Ball <chris@printf.net>
parent a1a6120c
...@@ -22,17 +22,13 @@ ...@@ -22,17 +22,13 @@
#include <string.h> #include <string.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <libgen.h>
#include <limits.h>
#include <ctype.h>
#include <errno.h> #include <errno.h>
#include <stdint.h> #include <stdint.h>
#include <assert.h> #include <assert.h>
#include <linux/fs.h> #include <linux/fs.h> /* for BLKGETSIZE */
#include "mmc.h" #include "mmc.h"
#include "mmc_cmds.h" #include "mmc_cmds.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment