Remove unneeded variable.

Simplify mac address validation routing and remove unneed variable.