]> sourceware.org Git - lvm2.git/commitdiff
dmeventd: drop unneded test
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 22 Oct 2015 10:31:45 +0000 (12:31 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 22 Oct 2015 20:34:29 +0000 (22:34 +0200)
Function is never called without device.uuid.

daemons/dmeventd/dmeventd.c

index bbdee827406fa8553662f19424dc5cd55c61e1b0..2f5fe67477d53b30ab21e602f42393a23e5f6478 100644 (file)
@@ -545,9 +545,6 @@ static int _fill_device_data(struct thread_status *ts)
        struct dm_info dmi;
        int ret = 0;
 
-       if (!ts->device.uuid)
-               return 0;
-
        if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
                return 0;
 
This page took 0.099625 seconds and 5 git commands to generate.