X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsnapshot.c;h=b14a398c343ba58d2cab3a50b726f2d33475b515;hb=a24f05ab8afe43b1122d1fd6a4f4346443e0084a;hp=5265cf5575d692f94c4f7cde7d1c3d6ea59ea40a;hpb=5eecee74ccdce343ccf1504174eef7c03d859fb0;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/snapshot.c b/src/bin/lttng-sessiond/snapshot.c index 5265cf557..b14a398c3 100644 --- a/src/bin/lttng-sessiond/snapshot.c +++ b/src/bin/lttng-sessiond/snapshot.c @@ -214,11 +214,6 @@ error: return output; } -struct snapshot *snapshot_alloc(void) -{ - return zmalloc(sizeof(struct snapshot)); -} - /* * Initialized a snapshot object that was already allocated. *