From: Felix Fietkau Date: Tue, 17 Dec 2024 19:17:21 +0000 (+0100) Subject: service: remove leftover lines from previous commit X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=735b48728fca637970e20d998224dad09ac21cea;p=project%2Fprocd.git service: remove leftover lines from previous commit Signed-off-by: Felix Fietkau --- diff --git a/service/service.c b/service/service.c index f64b634..de14aa3 100644 --- a/service/service.c +++ b/service/service.c @@ -163,10 +163,6 @@ service_update(struct service *s, struct blob_attr **tb, bool add) s->trigger = NULL; } - if (s->data) { - s->data = NULL; - } - service_validate_del(s); if (tb[SERVICE_SET_AUTOSTART] && !blobmsg_get_bool(tb[SERVICE_SET_AUTOSTART]))