irda: Kill set but unused variable 'bytes' in irlan_check_command_param()
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bfad6ef6d2
commit
ad6376434c
@ -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)
|
void irlan_check_command_param(struct irlan_cb *self, char *param, char *value)
|
||||||
{
|
{
|
||||||
__u8 *bytes;
|
|
||||||
|
|
||||||
IRDA_DEBUG(4, "%s()\n", __func__ );
|
IRDA_DEBUG(4, "%s()\n", __func__ );
|
||||||
|
|
||||||
bytes = value;
|
|
||||||
|
|
||||||
IRDA_ASSERT(self != NULL, return;);
|
IRDA_ASSERT(self != NULL, return;);
|
||||||
IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;);
|
IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user