From: Zdenek Kabelac Date: Thu, 22 Oct 2015 10:31:45 +0000 (+0200) Subject: dmeventd: drop unneded test X-Git-Tag: v2_02_133~81 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=e2ea2a81476495f494915774c46c0b3c139d1c3f;p=lvm2.git dmeventd: drop unneded test Function is never called without device.uuid. --- diff --git a/daemons/dmeventd/dmeventd.c b/daemons/dmeventd/dmeventd.c index bbdee8274..2f5fe6747 100644 --- a/daemons/dmeventd/dmeventd.c +++ b/daemons/dmeventd/dmeventd.c @@ -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;