Remove unused functions to avoid build warning

This ROOT6 specific pull request removes unused functions to avoid a build warning.

Please merge this trivial pull request as soon as convenient.