mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
udev: drop assertion which is always false
Fixes a bug introduced by67c3e1f63a
. Fixes #24945. (cherry picked from commit6209bbbd4b
) (cherry picked from commitbf13ffec59
)
This commit is contained in:
parent
f7d1325f3c
commit
6475b8902f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user