projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d187c1a
)
irda: Kill set but unused vars 'saddr' and 'daddr' in irlan_provider_connect_indication()
author
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:46:41 +0000
(18:46 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:46:41 +0000
(18:46 -0400)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irlan/irlan_provider.c
patch
|
blob
|
history
diff --git
a/net/irda/irlan/irlan_provider.c
b/net/irda/irlan/irlan_provider.c
index
5cf5e6c
..
b8af74a
100644
(file)
--- 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,
{
struct irlan_cb *self;
struct tsap_cb *tsap;
- __u32 saddr, daddr;
IRDA_DEBUG(0, "%s()\n", __func__ );
@@
-141,8
+140,6
@@
static void irlan_provider_connect_indication(void *instance, void *sap,
IRDA_ASSERT(tsap == self->provider.tsap_ctrl,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_header_size = max_header_size;