1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

dmeventd: drop unneded test

Function is never called without device.uuid.
This commit is contained in:
Zdenek Kabelac 2015-10-22 12:31:45 +02:00
parent 941c6354db
commit e2ea2a8147

View File

@ -545,9 +545,6 @@ static int _fill_device_data(struct thread_status *ts)
struct dm_info dmi; struct dm_info dmi;
int ret = 0; int ret = 0;
if (!ts->device.uuid)
return 0;
if (!(dmt = dm_task_create(DM_DEVICE_INFO))) if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
return 0; return 0;