chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: drop now-redundant special-casing of JOB_NOP
[elogind.git]
/
src
/
core
/
device.c
diff --git
a/src/core/device.c
b/src/core/device.c
index 0f28a168740de09d95bb46c2cbc4165ea11d604a..11c426108151f9a81b132d9cea76c29ccb7b4d97 100644
(file)
--- a/
src/core/device.c
+++ b/
src/core/device.c
@@
-304,7
+304,7
@@
static int device_update_unit(Manager *m, struct udev_device *dev, const char *p
goto fail;
}
goto fail;
}
- r = hashmap_ensure_allocated(&m->devices_by_sysfs,
string_hash_func, string_compare_func
);
+ r = hashmap_ensure_allocated(&m->devices_by_sysfs,
&string_hash_ops
);
if (r < 0)
goto fail;
if (r < 0)
goto fail;
@@
-517,7
+517,7
@@
static int device_following_set(Unit *u, Set **_set) {
return 0;
}
return 0;
}
- set = set_new(NULL
, NULL
);
+ set = set_new(NULL);
if (!set)
return -ENOMEM;
if (!set)
return -ENOMEM;