gcc with -Wall was complaining about defined but unused code. I've removed the functions/variables that weren't used. Signed-off-by: Jeff Mahoney <jeffm@suse.com>