diff options
Diffstat (limited to 'src/core/device.c')
-rw-r--r-- | src/core/device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/device.c b/src/core/device.c index 5656c96669..f8e65b876f 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -750,9 +750,8 @@ static int device_dispatch_io(sd_event_source *source, int fd, uint32_t revents, return 0; } -static bool device_supported(Manager *m) { +static bool device_supported(void) { static int read_only = -1; - assert(m); /* If /sys is read-only we don't support device units, and any * attempts to start one should fail immediately. */ |