Remove unused variables and functions.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>