diff options
Diffstat (limited to 'net/irda/af_irda.c')
-rw-r--r-- | net/irda/af_irda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c index cc616974a447..c24f25ab67d3 100644 --- a/net/irda/af_irda.c +++ b/net/irda/af_irda.c | |||
@@ -369,7 +369,7 @@ static void irda_getvalue_confirm(int result, __u16 obj_id, | |||
369 | { | 369 | { |
370 | struct irda_sock *self; | 370 | struct irda_sock *self; |
371 | 371 | ||
372 | self = (struct irda_sock *) priv; | 372 | self = priv; |
373 | if (!self) { | 373 | if (!self) { |
374 | IRDA_WARNING("%s: lost myself!\n", __func__); | 374 | IRDA_WARNING("%s: lost myself!\n", __func__); |
375 | return; | 375 | return; |
@@ -418,7 +418,7 @@ static void irda_selective_discovery_indication(discinfo_t *discovery, | |||
418 | 418 | ||
419 | IRDA_DEBUG(2, "%s()\n", __func__); | 419 | IRDA_DEBUG(2, "%s()\n", __func__); |
420 | 420 | ||
421 | self = (struct irda_sock *) priv; | 421 | self = priv; |
422 | if (!self) { | 422 | if (!self) { |
423 | IRDA_WARNING("%s: lost myself!\n", __func__); | 423 | IRDA_WARNING("%s: lost myself!\n", __func__); |
424 | return; | 424 | return; |