projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: consumer_data is never used by update_kernel_stream()
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
main.c
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index e032e037c3ebf933f0caa216cd292578fbb7e9ae..2b2a59adeb589e12a5449ef546df11a129721248 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-858,7
+858,7
@@
error:
*
* Useful for CPU hotplug feature.
*/
*
* Useful for CPU hotplug feature.
*/
-static int update_kernel_stream(
struct consumer_data *consumer_data,
int fd)
+static int update_kernel_stream(int fd)
{
int ret = 0;
struct ltt_session *session;
{
int ret = 0;
struct ltt_session *session;
@@
-1092,7
+1092,7
@@
static void *thread_manage_kernel(void *data)
* New CPU detected by the kernel. Adding kernel stream to
* kernel session and updating the kernel consumer
*/
* New CPU detected by the kernel. Adding kernel stream to
* kernel session and updating the kernel consumer
*/
- ret = update_kernel_stream(
&kconsumer_data,
pollfd);
+ ret = update_kernel_stream(pollfd);
if (ret < 0) {
continue;
}
if (ret < 0) {
continue;
}
This page took
0.024598 seconds
and
4
git commands to generate.