]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/sbe-2t3e3/exar7300.c
Merge branches 'delete-gts-bfs', 'misc', 'novell-bugzilla-757888-numa' and 'osc-pcie...
[~andy/linux] / drivers / staging / sbe-2t3e3 / exar7300.c
index d10d696cf6fbf03279c8fc3615b65c76d62c63eb..cd229998a62eb716979fa99fe4e38d8d7d83265b 100644 (file)
@@ -43,23 +43,6 @@ void exar7300_set_loopback(struct channel *sc, u32 mode)
        val &= ~(SBE_2T3E3_LIU_VAL_LOCAL_LOOPBACK | SBE_2T3E3_LIU_VAL_REMOTE_LOOPBACK);
        val |= mode;
        exar7300_write(sc, SBE_2T3E3_LIU_REG_REG4, val);
-
-#if 0
-       /* TODO - is it necessary? idea from 2T3E3_HW_Test_code */
-       switch (mode) {
-       case SBE_2T3E3_LIU_VAL_LOOPBACK_OFF:
-               break;
-       case SBE_2T3E3_LIU_VAL_LOOPBACK_REMOTE:
-               exar7300_receive_equalization_onoff(sc, SBE_2T3E3_ON);
-               break;
-       case SBE_2T3E3_LIU_VAL_LOOPBACK_ANALOG:
-               exar7300_receive_equalization_onoff(sc, SBE_2T3E3_OFF);
-               break;
-       case SBE_2T3E3_LIU_VAL_LOOPBACK_DIGITAL:
-               exar7300_receive_equalization_onoff(sc, SBE_2T3E3_ON);
-               break;
-       }
-#endif
 }
 
 void exar7300_set_frame_type(struct channel *sc, u32 type)