core/automount: drop unecessary cast

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-05-04 14:57:49 +02:00
parent 4c1f9343b2
commit edb83bceec
+1 -1
View File
@@ -651,7 +651,7 @@ fail:
static void *expire_thread(void *p) {
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;
assert(data->dev_autofs_fd >= 0);