summaryrefslogtreecommitdiffstats
path: root/libblkid/src/probe.c
diff options
context:
space:
mode:
authorKarel Zak2016-08-30 11:22:30 +0200
committerKarel Zak2016-08-30 11:22:30 +0200
commita1df9c9d4e8908ef5942ca0d58ee490352930c5b (patch)
treeb01f3554418bc87a90be08d62d2b9d69cf99f0f9 /libblkid/src/probe.c
parentumount: cleanup umount.8 about mtab (diff)
downloadkernel-qcow2-util-linux-a1df9c9d4e8908ef5942ca0d58ee490352930c5b.tar.gz
kernel-qcow2-util-linux-a1df9c9d4e8908ef5942ca0d58ee490352930c5b.tar.xz
kernel-qcow2-util-linux-a1df9c9d4e8908ef5942ca0d58ee490352930c5b.zip
libblkid: remove unused function
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid/src/probe.c')
-rw-r--r--libblkid/src/probe.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c
index 43ea4c741..f2b3f9348 100644
--- a/libblkid/src/probe.c
+++ b/libblkid/src/probe.c
@@ -1765,15 +1765,6 @@ int blkid_probe_has_value(blkid_probe pr, const char *name)
return 0;
}
-struct blkid_prval *blkid_probe_last_value(blkid_probe pr)
-{
- if (list_empty(&pr->values))
- return NULL;
-
- return list_last_entry(&pr->values, struct blkid_prval, prvals);
-}
-
-
struct blkid_prval *__blkid_probe_get_value(blkid_probe pr, int num)
{
int i = 0;