diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-19 18:46:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-19 18:46:41 -0400 |
commit | fa7479cf48103ee9261398034528495966bd7d2d (patch) | |
tree | d68ba8f1e9e8cd918cb4db16cb97a5c6f26bda08 /net | |
parent | d187c1aab8d30771bb781c745b150f6159467d6f (diff) |
irda: Kill set but unused vars 'saddr' and 'daddr' in irlan_provider_connect_indication()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/irda/irlan/irlan_provider.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/irda/irlan/irlan_provider.c b/net/irda/irlan/irlan_provider.c index 5cf5e6c872bb..b8af74ab8b68 100644 --- a/net/irda/irlan/irlan_provider.c +++ b/net/irda/irlan/irlan_provider.c | |||
@@ -128,7 +128,6 @@ static void irlan_provider_connect_indication(void *instance, void *sap, | |||
128 | { | 128 | { |
129 | struct irlan_cb *self; | 129 | struct irlan_cb *self; |
130 | struct tsap_cb *tsap; | 130 | struct tsap_cb *tsap; |
131 | __u32 saddr, daddr; | ||
132 | 131 | ||
133 | IRDA_DEBUG(0, "%s()\n", __func__ ); | 132 | IRDA_DEBUG(0, "%s()\n", __func__ ); |
134 | 133 | ||
@@ -141,8 +140,6 @@ static void irlan_provider_connect_indication(void *instance, void *sap, | |||
141 | IRDA_ASSERT(tsap == self->provider.tsap_ctrl,return;); | 140 | IRDA_ASSERT(tsap == self->provider.tsap_ctrl,return;); |
142 | IRDA_ASSERT(self->provider.state == IRLAN_IDLE, return;); | 141 | IRDA_ASSERT(self->provider.state == IRLAN_IDLE, return;); |
143 | 142 | ||
144 | daddr = irttp_get_daddr(tsap); | ||
145 | saddr = irttp_get_saddr(tsap); | ||
146 | self->provider.max_sdu_size = max_sdu_size; | 143 | self->provider.max_sdu_size = max_sdu_size; |
147 | self->provider.max_header_size = max_header_size; | 144 | self->provider.max_header_size = max_header_size; |
148 | 145 | ||