rtl8366_smi: move variable initialization out from the loop