master - dmeventd: drop unneded test
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e2ea2a81476495f494915774c46c0b3c139d1c3f Commit: e2ea2a81476495f494915774c46c0b3c139d1c3f Parent: 941c6354dbf783da17851be7e38f243334a4acd6 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Oct 22 12:31:45 2015 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu Oct 22 22:34:29 2015 +0200
dmeventd: drop unneded test
Function is never called without device.uuid.
--- daemons/dmeventd/dmeventd.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
daemons/dmeventd/dmeventd.c +0 -3
@@ -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 ;