*/
lks->tmp_consumer = NULL;
- if (path && strlen(path) > 0) {
+ if (*path != '\0') {
int ret;
/* Use the default consumer output which is the tracing session path. */
* Return pointer to structure or NULL.
*/
struct ltt_kernel_channel *trace_kernel_create_channel(
- struct lttng_channel *chan, char *path)
+ struct lttng_channel *chan)
{
struct ltt_kernel_channel *lkc;