*/
static
int metadata_cache_check_version(struct consumer_metadata_cache *cache,
- struct lttng_consumer_channel *channel, uint64_t version)
+ uint64_t version)
{
int ret = 0;
cache = channel->metadata_cache;
- ret = metadata_cache_check_version(cache, channel, version);
+ ret = metadata_cache_check_version(cache, version);
if (ret < 0) {
goto end;
}