dualminer: Remove unused variables/functions