Fix gcc unused variable warnings
Gcc -Wall warn: 'unused variable'
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>