diff options
author | Tilman Schmidt <tilman@imap.cc> | 2009-10-25 10:30:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-29 09:37:18 +0100 |
commit | 50e4fe91a5edbf680853b2ca37300a47ff860d63 (patch) | |
tree | 1b361226a74b6fd3f2d7819507fb3154c43a6107 /drivers/isdn/gigaset/gigaset.h | |
parent | gigaset: checkpatch cleanup of ev-layer.c (diff) | |
download | linux-50e4fe91a5edbf680853b2ca37300a47ff860d63.tar.xz linux-50e4fe91a5edbf680853b2ca37300a47ff860d63.zip |
gigaset: convert strcmp chain to table lookup
Replace the sequence of strcmp calls for interpreting ZSAU parameter
strings by a table of known strings and lookup loop to improve
readability.
Impact: readability improvement, no functional change
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index 3c74cd164019..e963a6c2e86d 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h @@ -357,12 +357,6 @@ struct at_state_t { struct bc_state *bcs; }; -struct resp_type_t { - unsigned char *response; - int resp_code; /* RSP_XXXX */ - int type; /* RT_XXXX */ -}; - struct event_t { int type; void *ptr, *arg; |