1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Use NULL not 0.

Remove worthless comment.
This commit is contained in:
Alasdair Kergon 2007-08-05 00:13:02 +00:00
parent b7cd307f9b
commit 27c7135097

View File

@ -670,13 +670,7 @@ static int _parse_message(struct dm_event_daemon_message *msg, char **dso_name,
}
/*
* dm_event_get_registered_device
* @dso_name
* @device_path
* @mask
* @next
*
* Returns: 0 if handler found, error (-ENOMEM, -ENOENT) otherwise
* Returns 0 if handler found; error (-ENOMEM, -ENOENT) otherwise.
*/
int dm_event_get_registered_device(struct dm_event_handler *dmevh, int next)
{
@ -706,7 +700,7 @@ int dm_event_get_registered_device(struct dm_event_handler *dmevh, int next)
}
dm_task_destroy(dmt);
dmt = 0;
dmt = NULL;
if (msg.data) {
dm_free(msg.data);