summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/gigaset.h
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2009-10-25 09:30:57 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-29 01:37:18 -0700
commit50e4fe91a5edbf680853b2ca37300a47ff860d63 (patch)
tree1b361226a74b6fd3f2d7819507fb3154c43a6107 /drivers/isdn/gigaset/gigaset.h
parentc35a87ff6678f92b12437843e88f9c89437ed4a7 (diff)
downloadtalos-obmc-linux-50e4fe91a5edbf680853b2ca37300a47ff860d63.tar.gz
talos-obmc-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.h6
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;
OpenPOWER on IntegriCloud