Commit fa7479cf authored by David S. Miller's avatar David S. Miller

irda: Kill set but unused vars 'saddr' and 'daddr' in irlan_provider_connect_indication()

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d187c1aa
...@@ -128,7 +128,6 @@ static void irlan_provider_connect_indication(void *instance, void *sap, ...@@ -128,7 +128,6 @@ static void irlan_provider_connect_indication(void *instance, void *sap,
{ {
struct irlan_cb *self; struct irlan_cb *self;
struct tsap_cb *tsap; struct tsap_cb *tsap;
__u32 saddr, daddr;
IRDA_DEBUG(0, "%s()\n", __func__ ); IRDA_DEBUG(0, "%s()\n", __func__ );
...@@ -141,8 +140,6 @@ static void irlan_provider_connect_indication(void *instance, void *sap, ...@@ -141,8 +140,6 @@ static void irlan_provider_connect_indication(void *instance, void *sap,
IRDA_ASSERT(tsap == self->provider.tsap_ctrl,return;); IRDA_ASSERT(tsap == self->provider.tsap_ctrl,return;);
IRDA_ASSERT(self->provider.state == IRLAN_IDLE, return;); IRDA_ASSERT(self->provider.state == IRLAN_IDLE, return;);
daddr = irttp_get_daddr(tsap);
saddr = irttp_get_saddr(tsap);
self->provider.max_sdu_size = max_sdu_size; self->provider.max_sdu_size = max_sdu_size;
self->provider.max_header_size = max_header_size; self->provider.max_header_size = max_header_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment