stats: fix warning: unused parameter 'p' [-Wunused-parameter]

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
stats: fix warning: unused variable 'iter' [-Wunused-variable]

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>