summaryrefslogtreecommitdiffstats
path: root/libblkid/src/read.c
diff options
context:
space:
mode:
authorDan Pasanen <dan.pasanen@gmail.com>2015-11-11 18:26:25 +0100
committerDees Troy <dees_troy@teamw.in>2015-11-26 05:47:26 +0100
commit7ac17ccee61fb464b43c0f595b73b79d08d9ced8 (patch)
treeef5c2d5bb92a4a62d5a08fc0e1ba3371cfa90260 /libblkid/src/read.c
parentfuse_sideload: remove unused variables causing warnings (diff)
downloadandroid_bootable_recovery-7ac17ccee61fb464b43c0f595b73b79d08d9ced8.tar
android_bootable_recovery-7ac17ccee61fb464b43c0f595b73b79d08d9ced8.tar.gz
android_bootable_recovery-7ac17ccee61fb464b43c0f595b73b79d08d9ced8.tar.bz2
android_bootable_recovery-7ac17ccee61fb464b43c0f595b73b79d08d9ced8.tar.lz
android_bootable_recovery-7ac17ccee61fb464b43c0f595b73b79d08d9ced8.tar.xz
android_bootable_recovery-7ac17ccee61fb464b43c0f595b73b79d08d9ced8.tar.zst
android_bootable_recovery-7ac17ccee61fb464b43c0f595b73b79d08d9ced8.zip
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.