libblkid: remove unused function
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
29ad8689b8
commit
a1df9c9d4e
|
@ -443,8 +443,6 @@ extern struct blkid_chain *blkid_probe_get_chain(blkid_probe pr)
|
|||
__attribute__((nonnull))
|
||||
__attribute__((warn_unused_result));
|
||||
|
||||
extern struct blkid_prval *blkid_probe_last_value(blkid_probe pr);
|
||||
|
||||
extern struct blkid_prval *__blkid_probe_get_value(blkid_probe pr, int num)
|
||||
__attribute__((nonnull))
|
||||
__attribute__((warn_unused_result));
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue