summaryrefslogtreecommitdiffstats
path: root/libblkid/src/read.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libblkid/src/read.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libblkid/src/read.c b/libblkid/src/read.c
index 81ab0dfd6..99a9684c8 100644
--- a/libblkid/src/read.c
+++ b/libblkid/src/read.c
@@ -402,9 +402,6 @@ void blkid_read_cache(blkid_cache cache)
int fd, lineno = 0;
struct stat st;
- if (!cache)
- return;
-
/*
* If the file doesn't exist, then we just return an empty
* struct so that the cache can be populated.