summaryrefslogtreecommitdiff
path: root/xhfc/xhfc_st_state.c
diff options
context:
space:
mode:
authorNoe Rubinstein <nrubinstein@proformatique.com>2010-12-02 12:07:58 +0100
committerNoe Rubinstein <nrubinstein@proformatique.com>2010-12-02 12:07:58 +0100
commite79ecf45114ac7ddee989dac439867a3d3780655 (patch)
treeb6bdbb5b9dfc2f0de8b7ab12715e36f835724b35 /xhfc/xhfc_st_state.c
parentbb72e811ab26b8d98fc59515616e7e82ec206e24 (diff)
if it works, do break it
Diffstat (limited to 'xhfc/xhfc_st_state.c')
-rw-r--r--xhfc/xhfc_st_state.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xhfc/xhfc_st_state.c b/xhfc/xhfc_st_state.c
index 8c04784..6f15e00 100644
--- a/xhfc/xhfc_st_state.c
+++ b/xhfc/xhfc_st_state.c
@@ -35,8 +35,6 @@ static void handle_state_change_te(struct xhfc_span* s);
static void allow_G2_G3_transition(struct xhfc_span* s);
-static void set_st_state(struct xhfc_span* s, int state);
-
static void print_state(struct xhfc_span* s);
void start_state_machine(struct xhfc_span* s)
@@ -254,12 +252,10 @@ static void activation_timer_expiry(struct xhfc_span* s)
*/
deactivate_request(s);
- // set_st_state(s, G4);
} else if(t3_expiry) {
deactivate_request(s);
- // set_st_state(s, F3);
}
}
@@ -274,7 +270,7 @@ static void allow_G2_G3_transition(struct xhfc_span* s)
write_xhfc(s->xhfc, A_SU_WR_STA, a_su_wr_sta);
/* The bit is automatically cleared on G2->G3. G2->G4 is always
- * triggered by using set_st_state which clears this bit. Therefore
+ * triggered by using activate_request which clears this bit. Therefore
* this bit is always cleared correctly when exiting G2. */
}