aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index f266ee2..a0772fe 100644
--- a/dwl.c
+++ b/dwl.c
@@ -878,8 +878,6 @@ createlayersurface(struct wl_listener *listener, void *data)
}
layersurface = calloc(1, sizeof(LayerSurface));
- if (!layersurface)
- return;
layersurface->surface_commit.notify = commitlayersurfacenotify;
wl_signal_add(&wlr_layer_surface->surface->events.commit,