}
 EXPORT_SYMBOL_GPL(gigaset_add_event);
 
-static void free_strings(struct at_state_t *at_state)
+static void clear_at_state(struct at_state_t *at_state)
 {
        int i;
 
        }
 }
 
-static void clear_at_state(struct at_state_t *at_state)
-{
-       free_strings(at_state);
-}
-
-static void dealloc_at_states(struct cardstate *cs)
+static void dealloc_temp_at_states(struct cardstate *cs)
 {
        struct at_state_t *cur, *next;
 
        list_for_each_entry_safe(cur, next, &cs->temp_at_states, list) {
                list_del(&cur->list);
-               free_strings(cur);
+               clear_at_state(cur);
                kfree(cur);
        }
 }
        case 1: /* error when registering to LL */
                gig_dbg(DEBUG_INIT, "clearing at_state");
                clear_at_state(&cs->at_state);
-               dealloc_at_states(cs);
+               dealloc_temp_at_states(cs);
 
                /* fall through */
        case 0: /* error in basic setup */
        cs->mstate = MS_UNINITIALIZED;
 
        clear_at_state(&cs->at_state);
-       dealloc_at_states(cs);
-       free_strings(&cs->at_state);
+       dealloc_temp_at_states(cs);
        gigaset_at_init(&cs->at_state, NULL, cs, 0);
 
        cs->inbuf->inputstate = INS_command;