projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfad6ef
)
irda: Kill set but unused variable 'bytes' in irlan_check_command_param()
author
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:53:58 +0000
(18:53 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:53:58 +0000
(18:53 -0400)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irlan/irlan_filter.c
patch
|
blob
|
blame
|
history
diff --git
a/net/irda/irlan/irlan_filter.c
b/net/irda/irlan/irlan_filter.c
index 9ff7823abec75c5ef3fd8dec485b697902e95ab1..7977be7caf0f090c8437dbc520073fe63c088274 100644
(file)
--- a/
net/irda/irlan/irlan_filter.c
+++ b/
net/irda/irlan/irlan_filter.c
@@
-143,12
+143,8
@@
void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb)
*/
void irlan_check_command_param(struct irlan_cb *self, char *param, char *value)
{
- __u8 *bytes;
-
IRDA_DEBUG(4, "%s()\n", __func__ );
- bytes = value;
-
IRDA_ASSERT(self != NULL, return;);
IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;);