1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-04 21:47:31 +03:00

core/automount: drop unecessary cast

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-04-26 23:54:32 +02:00
parent 4c1f9343b2
commit edb83bceec

View File

@ -651,7 +651,7 @@ fail:
static void *expire_thread(void *p) { static void *expire_thread(void *p) {
struct autofs_dev_ioctl param; struct autofs_dev_ioctl param;
_cleanup_(expire_data_freep) struct expire_data *data = (struct expire_data*)p; _cleanup_(expire_data_freep) struct expire_data *data = p;
int r; int r;
assert(data->dev_autofs_fd >= 0); assert(data->dev_autofs_fd >= 0);