Simplify grub2 misc

Short variable names are acceptable in short methods like this, but I still feel that ``tm``, ``dp`` and ```dm``` is going a step too far.