mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
udev: drop assertion which is always false
Fixes a bug introduced by 67c3e1f63a.
Fixes #24945.
This commit is contained in:
committed by
Lennart Poettering
parent
7aa4762ce2
commit
6209bbbd4b
@@ -556,7 +556,6 @@ static int find_real_nvme_parent(sd_device *dev, sd_device **ret) {
|
||||
* /sys/devices/pci0000:00/0000:00:1c.4/0000:3c:00.0/nvme/nvme0 */
|
||||
|
||||
assert(dev);
|
||||
assert(nvme);
|
||||
|
||||
r = sd_device_get_sysname(dev, &sysname);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user