Use loop in vt6655_mac_read_ether_addr and vt6655_mac_write_bssid_addr to avoid multiple similar statements. Tested with vt6655 on mini PCI Module Transferred this patch over wlan connection of vt6655 Philipp Hortmann (2): staging: vt6655: Use loop in vt6655_mac_write_bssid_addr staging: vt6655: Use loop in vt6655_mac_read_ether_addr drivers/staging/vt6655/device_main.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) -- 2.37.0