diff options
author | Joe Perches <joe@perches.com> | 2011-06-13 12:21:26 -0400 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-16 23:19:27 -0400 |
commit | ea110733874d5176cb56dcf612a629ffac09dbf0 (patch) | |
tree | d079bb9990ecf7dadc326b62605fb4de1f6fad4f /net/irda | |
parent | 3c8def9776c3d4636291432522ea312f7a44be95 (diff) |
net: Remove casts of void *
Unnecessary casts of void * clutter the code.
These are the remainder casts after several specific
patches to remove netdev_priv and dev_priv.
Done via coccinelle script:
$ cat cast_void_pointer.cocci
@@
type T;
T *pt;
void *pv;
@@
- pt = (T *)pv;
+ pt = pv;
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'net/irda')
-rw-r--r-- | net/irda/af_irda.c | 4 | ||||
-rw-r--r-- | net/irda/ircomm/ircomm_tty_attach.c | 2 | ||||
-rw-r--r-- | net/irda/irda_device.c | 2 | ||||
-rw-r--r-- | net/irda/iriap.c | 8 | ||||
-rw-r--r-- | net/irda/irlan/irlan_client.c | 10 | ||||
-rw-r--r-- | net/irda/irlan/irlan_common.c | 10 | ||||
-rw-r--r-- | net/irda/irlan/irlan_eth.c | 2 | ||||
-rw-r--r-- | net/irda/irlan/irlan_provider.c | 10 | ||||
-rw-r--r-- | net/irda/irqueue.c | 4 | ||||
-rw-r--r-- | net/irda/irttp.c | 18 |
10 files changed, 35 insertions, 35 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; |
diff --git a/net/irda/ircomm/ircomm_tty_attach.c b/net/irda/ircomm/ircomm_tty_attach.c index 3c1754023022..b65d66e0d817 100644 --- a/net/irda/ircomm/ircomm_tty_attach.c +++ b/net/irda/ircomm/ircomm_tty_attach.c | |||
@@ -382,7 +382,7 @@ static void ircomm_tty_discovery_indication(discinfo_t *discovery, | |||
382 | info.daddr = discovery->daddr; | 382 | info.daddr = discovery->daddr; |
383 | info.saddr = discovery->saddr; | 383 | info.saddr = discovery->saddr; |
384 | 384 | ||
385 | self = (struct ircomm_tty_cb *) priv; | 385 | self = priv; |
386 | ircomm_tty_do_event(self, IRCOMM_TTY_DISCOVERY_INDICATION, | 386 | ircomm_tty_do_event(self, IRCOMM_TTY_DISCOVERY_INDICATION, |
387 | NULL, &info); | 387 | NULL, &info); |
388 | } | 388 | } |
diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c index 25cc2e695158..3eca35faf2a8 100644 --- a/net/irda/irda_device.c +++ b/net/irda/irda_device.c | |||
@@ -262,7 +262,7 @@ static void irda_task_timer_expired(void *data) | |||
262 | 262 | ||
263 | IRDA_DEBUG(2, "%s()\n", __func__); | 263 | IRDA_DEBUG(2, "%s()\n", __func__); |
264 | 264 | ||
265 | task = (struct irda_task *) data; | 265 | task = data; |
266 | 266 | ||
267 | irda_task_kick(task); | 267 | irda_task_kick(task); |
268 | } | 268 | } |
diff --git a/net/irda/iriap.c b/net/irda/iriap.c index 36477538cea8..dfc7b47d48fe 100644 --- a/net/irda/iriap.c +++ b/net/irda/iriap.c | |||
@@ -300,7 +300,7 @@ static void iriap_disconnect_indication(void *instance, void *sap, | |||
300 | 300 | ||
301 | IRDA_DEBUG(4, "%s(), reason=%s\n", __func__, irlmp_reasons[reason]); | 301 | IRDA_DEBUG(4, "%s(), reason=%s\n", __func__, irlmp_reasons[reason]); |
302 | 302 | ||
303 | self = (struct iriap_cb *) instance; | 303 | self = instance; |
304 | 304 | ||
305 | IRDA_ASSERT(self != NULL, return;); | 305 | IRDA_ASSERT(self != NULL, return;); |
306 | IRDA_ASSERT(self->magic == IAS_MAGIC, return;); | 306 | IRDA_ASSERT(self->magic == IAS_MAGIC, return;); |
@@ -754,7 +754,7 @@ static void iriap_connect_confirm(void *instance, void *sap, | |||
754 | { | 754 | { |
755 | struct iriap_cb *self; | 755 | struct iriap_cb *self; |
756 | 756 | ||
757 | self = (struct iriap_cb *) instance; | 757 | self = instance; |
758 | 758 | ||
759 | IRDA_ASSERT(self != NULL, return;); | 759 | IRDA_ASSERT(self != NULL, return;); |
760 | IRDA_ASSERT(self->magic == IAS_MAGIC, return;); | 760 | IRDA_ASSERT(self->magic == IAS_MAGIC, return;); |
@@ -786,7 +786,7 @@ static void iriap_connect_indication(void *instance, void *sap, | |||
786 | 786 | ||
787 | IRDA_DEBUG(1, "%s()\n", __func__); | 787 | IRDA_DEBUG(1, "%s()\n", __func__); |
788 | 788 | ||
789 | self = (struct iriap_cb *) instance; | 789 | self = instance; |
790 | 790 | ||
791 | IRDA_ASSERT(skb != NULL, return;); | 791 | IRDA_ASSERT(skb != NULL, return;); |
792 | IRDA_ASSERT(self != NULL, goto out;); | 792 | IRDA_ASSERT(self != NULL, goto out;); |
@@ -834,7 +834,7 @@ static int iriap_data_indication(void *instance, void *sap, | |||
834 | 834 | ||
835 | IRDA_DEBUG(3, "%s()\n", __func__); | 835 | IRDA_DEBUG(3, "%s()\n", __func__); |
836 | 836 | ||
837 | self = (struct iriap_cb *) instance; | 837 | self = instance; |
838 | 838 | ||
839 | IRDA_ASSERT(skb != NULL, return 0;); | 839 | IRDA_ASSERT(skb != NULL, return 0;); |
840 | IRDA_ASSERT(self != NULL, goto out;); | 840 | IRDA_ASSERT(self != NULL, goto out;); |
diff --git a/net/irda/irlan/irlan_client.c b/net/irda/irlan/irlan_client.c index 7ed3af957935..ba1a3fc39b5c 100644 --- a/net/irda/irlan/irlan_client.c +++ b/net/irda/irlan/irlan_client.c | |||
@@ -198,7 +198,7 @@ static int irlan_client_ctrl_data_indication(void *instance, void *sap, | |||
198 | 198 | ||
199 | IRDA_DEBUG(2, "%s()\n", __func__ ); | 199 | IRDA_DEBUG(2, "%s()\n", __func__ ); |
200 | 200 | ||
201 | self = (struct irlan_cb *) instance; | 201 | self = instance; |
202 | 202 | ||
203 | IRDA_ASSERT(self != NULL, return -1;); | 203 | IRDA_ASSERT(self != NULL, return -1;); |
204 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return -1;); | 204 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return -1;); |
@@ -226,8 +226,8 @@ static void irlan_client_ctrl_disconnect_indication(void *instance, void *sap, | |||
226 | 226 | ||
227 | IRDA_DEBUG(4, "%s(), reason=%d\n", __func__ , reason); | 227 | IRDA_DEBUG(4, "%s(), reason=%d\n", __func__ , reason); |
228 | 228 | ||
229 | self = (struct irlan_cb *) instance; | 229 | self = instance; |
230 | tsap = (struct tsap_cb *) sap; | 230 | tsap = sap; |
231 | 231 | ||
232 | IRDA_ASSERT(self != NULL, return;); | 232 | IRDA_ASSERT(self != NULL, return;); |
233 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 233 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
@@ -298,7 +298,7 @@ static void irlan_client_ctrl_connect_confirm(void *instance, void *sap, | |||
298 | 298 | ||
299 | IRDA_DEBUG(4, "%s()\n", __func__ ); | 299 | IRDA_DEBUG(4, "%s()\n", __func__ ); |
300 | 300 | ||
301 | self = (struct irlan_cb *) instance; | 301 | self = instance; |
302 | 302 | ||
303 | IRDA_ASSERT(self != NULL, return;); | 303 | IRDA_ASSERT(self != NULL, return;); |
304 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 304 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
@@ -542,7 +542,7 @@ void irlan_client_get_value_confirm(int result, __u16 obj_id, | |||
542 | 542 | ||
543 | IRDA_ASSERT(priv != NULL, return;); | 543 | IRDA_ASSERT(priv != NULL, return;); |
544 | 544 | ||
545 | self = (struct irlan_cb *) priv; | 545 | self = priv; |
546 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 546 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
547 | 547 | ||
548 | /* We probably don't need to make any more queries */ | 548 | /* We probably don't need to make any more queries */ |
diff --git a/net/irda/irlan/irlan_common.c b/net/irda/irlan/irlan_common.c index 6130f9d9dbe1..779117636270 100644 --- a/net/irda/irlan/irlan_common.c +++ b/net/irda/irlan/irlan_common.c | |||
@@ -317,8 +317,8 @@ static void irlan_connect_indication(void *instance, void *sap, | |||
317 | 317 | ||
318 | IRDA_DEBUG(2, "%s()\n", __func__ ); | 318 | IRDA_DEBUG(2, "%s()\n", __func__ ); |
319 | 319 | ||
320 | self = (struct irlan_cb *) instance; | 320 | self = instance; |
321 | tsap = (struct tsap_cb *) sap; | 321 | tsap = sap; |
322 | 322 | ||
323 | IRDA_ASSERT(self != NULL, return;); | 323 | IRDA_ASSERT(self != NULL, return;); |
324 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 324 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
@@ -361,7 +361,7 @@ static void irlan_connect_confirm(void *instance, void *sap, | |||
361 | { | 361 | { |
362 | struct irlan_cb *self; | 362 | struct irlan_cb *self; |
363 | 363 | ||
364 | self = (struct irlan_cb *) instance; | 364 | self = instance; |
365 | 365 | ||
366 | IRDA_ASSERT(self != NULL, return;); | 366 | IRDA_ASSERT(self != NULL, return;); |
367 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 367 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
@@ -406,8 +406,8 @@ static void irlan_disconnect_indication(void *instance, | |||
406 | 406 | ||
407 | IRDA_DEBUG(0, "%s(), reason=%d\n", __func__ , reason); | 407 | IRDA_DEBUG(0, "%s(), reason=%d\n", __func__ , reason); |
408 | 408 | ||
409 | self = (struct irlan_cb *) instance; | 409 | self = instance; |
410 | tsap = (struct tsap_cb *) sap; | 410 | tsap = sap; |
411 | 411 | ||
412 | IRDA_ASSERT(self != NULL, return;); | 412 | IRDA_ASSERT(self != NULL, return;); |
413 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 413 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
diff --git a/net/irda/irlan/irlan_eth.c b/net/irda/irlan/irlan_eth.c index 8ee1ff6c742f..e8d5f4405d68 100644 --- a/net/irda/irlan/irlan_eth.c +++ b/net/irda/irlan/irlan_eth.c | |||
@@ -272,7 +272,7 @@ void irlan_eth_flow_indication(void *instance, void *sap, LOCAL_FLOW flow) | |||
272 | struct irlan_cb *self; | 272 | struct irlan_cb *self; |
273 | struct net_device *dev; | 273 | struct net_device *dev; |
274 | 274 | ||
275 | self = (struct irlan_cb *) instance; | 275 | self = instance; |
276 | 276 | ||
277 | IRDA_ASSERT(self != NULL, return;); | 277 | IRDA_ASSERT(self != NULL, return;); |
278 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 278 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
diff --git a/net/irda/irlan/irlan_provider.c b/net/irda/irlan/irlan_provider.c index b8af74ab8b68..8b61cf0d8a69 100644 --- a/net/irda/irlan/irlan_provider.c +++ b/net/irda/irlan/irlan_provider.c | |||
@@ -73,7 +73,7 @@ static int irlan_provider_data_indication(void *instance, void *sap, | |||
73 | 73 | ||
74 | IRDA_DEBUG(4, "%s()\n", __func__ ); | 74 | IRDA_DEBUG(4, "%s()\n", __func__ ); |
75 | 75 | ||
76 | self = (struct irlan_cb *) instance; | 76 | self = instance; |
77 | 77 | ||
78 | IRDA_ASSERT(self != NULL, return -1;); | 78 | IRDA_ASSERT(self != NULL, return -1;); |
79 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return -1;); | 79 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return -1;); |
@@ -131,8 +131,8 @@ static void irlan_provider_connect_indication(void *instance, void *sap, | |||
131 | 131 | ||
132 | IRDA_DEBUG(0, "%s()\n", __func__ ); | 132 | IRDA_DEBUG(0, "%s()\n", __func__ ); |
133 | 133 | ||
134 | self = (struct irlan_cb *) instance; | 134 | self = instance; |
135 | tsap = (struct tsap_cb *) sap; | 135 | tsap = sap; |
136 | 136 | ||
137 | IRDA_ASSERT(self != NULL, return;); | 137 | IRDA_ASSERT(self != NULL, return;); |
138 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 138 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
@@ -182,8 +182,8 @@ static void irlan_provider_disconnect_indication(void *instance, void *sap, | |||
182 | 182 | ||
183 | IRDA_DEBUG(4, "%s(), reason=%d\n", __func__ , reason); | 183 | IRDA_DEBUG(4, "%s(), reason=%d\n", __func__ , reason); |
184 | 184 | ||
185 | self = (struct irlan_cb *) instance; | 185 | self = instance; |
186 | tsap = (struct tsap_cb *) sap; | 186 | tsap = sap; |
187 | 187 | ||
188 | IRDA_ASSERT(self != NULL, return;); | 188 | IRDA_ASSERT(self != NULL, return;); |
189 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); | 189 | IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); |
diff --git a/net/irda/irqueue.c b/net/irda/irqueue.c index 9715e6e5900b..f06947c4fa82 100644 --- a/net/irda/irqueue.c +++ b/net/irda/irqueue.c | |||
@@ -780,7 +780,7 @@ void* hashbin_lock_find( hashbin_t* hashbin, long hashv, const char* name ) | |||
780 | /* | 780 | /* |
781 | * Search for entry | 781 | * Search for entry |
782 | */ | 782 | */ |
783 | entry = (irda_queue_t* ) hashbin_find( hashbin, hashv, name ); | 783 | entry = hashbin_find(hashbin, hashv, name); |
784 | 784 | ||
785 | /* Release lock */ | 785 | /* Release lock */ |
786 | spin_unlock_irqrestore(&hashbin->hb_spinlock, flags); | 786 | spin_unlock_irqrestore(&hashbin->hb_spinlock, flags); |
@@ -813,7 +813,7 @@ void* hashbin_find_next( hashbin_t* hashbin, long hashv, const char* name, | |||
813 | * This allow to check if the current item is still in the | 813 | * This allow to check if the current item is still in the |
814 | * hashbin or has been removed. | 814 | * hashbin or has been removed. |
815 | */ | 815 | */ |
816 | entry = (irda_queue_t* ) hashbin_find( hashbin, hashv, name ); | 816 | entry = hashbin_find(hashbin, hashv, name); |
817 | 817 | ||
818 | /* | 818 | /* |
819 | * Trick hashbin_get_next() to return what we want | 819 | * Trick hashbin_get_next() to return what we want |
diff --git a/net/irda/irttp.c b/net/irda/irttp.c index 9d9af4606970..285ccd623ae5 100644 --- a/net/irda/irttp.c +++ b/net/irda/irttp.c | |||
@@ -350,7 +350,7 @@ static int irttp_param_max_sdu_size(void *instance, irda_param_t *param, | |||
350 | { | 350 | { |
351 | struct tsap_cb *self; | 351 | struct tsap_cb *self; |
352 | 352 | ||
353 | self = (struct tsap_cb *) instance; | 353 | self = instance; |
354 | 354 | ||
355 | IRDA_ASSERT(self != NULL, return -1;); | 355 | IRDA_ASSERT(self != NULL, return -1;); |
356 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return -1;); | 356 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return -1;); |
@@ -879,7 +879,7 @@ static int irttp_udata_indication(void *instance, void *sap, | |||
879 | 879 | ||
880 | IRDA_DEBUG(4, "%s()\n", __func__); | 880 | IRDA_DEBUG(4, "%s()\n", __func__); |
881 | 881 | ||
882 | self = (struct tsap_cb *) instance; | 882 | self = instance; |
883 | 883 | ||
884 | IRDA_ASSERT(self != NULL, return -1;); | 884 | IRDA_ASSERT(self != NULL, return -1;); |
885 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return -1;); | 885 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return -1;); |
@@ -914,7 +914,7 @@ static int irttp_data_indication(void *instance, void *sap, | |||
914 | unsigned long flags; | 914 | unsigned long flags; |
915 | int n; | 915 | int n; |
916 | 916 | ||
917 | self = (struct tsap_cb *) instance; | 917 | self = instance; |
918 | 918 | ||
919 | n = skb->data[0] & 0x7f; /* Extract the credits */ | 919 | n = skb->data[0] & 0x7f; /* Extract the credits */ |
920 | 920 | ||
@@ -996,7 +996,7 @@ static void irttp_status_indication(void *instance, | |||
996 | 996 | ||
997 | IRDA_DEBUG(4, "%s()\n", __func__); | 997 | IRDA_DEBUG(4, "%s()\n", __func__); |
998 | 998 | ||
999 | self = (struct tsap_cb *) instance; | 999 | self = instance; |
1000 | 1000 | ||
1001 | IRDA_ASSERT(self != NULL, return;); | 1001 | IRDA_ASSERT(self != NULL, return;); |
1002 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); | 1002 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); |
@@ -1025,7 +1025,7 @@ static void irttp_flow_indication(void *instance, void *sap, LOCAL_FLOW flow) | |||
1025 | { | 1025 | { |
1026 | struct tsap_cb *self; | 1026 | struct tsap_cb *self; |
1027 | 1027 | ||
1028 | self = (struct tsap_cb *) instance; | 1028 | self = instance; |
1029 | 1029 | ||
1030 | IRDA_ASSERT(self != NULL, return;); | 1030 | IRDA_ASSERT(self != NULL, return;); |
1031 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); | 1031 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); |
@@ -1208,7 +1208,7 @@ static void irttp_connect_confirm(void *instance, void *sap, | |||
1208 | 1208 | ||
1209 | IRDA_DEBUG(4, "%s()\n", __func__); | 1209 | IRDA_DEBUG(4, "%s()\n", __func__); |
1210 | 1210 | ||
1211 | self = (struct tsap_cb *) instance; | 1211 | self = instance; |
1212 | 1212 | ||
1213 | IRDA_ASSERT(self != NULL, return;); | 1213 | IRDA_ASSERT(self != NULL, return;); |
1214 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); | 1214 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); |
@@ -1292,13 +1292,13 @@ static void irttp_connect_indication(void *instance, void *sap, | |||
1292 | __u8 plen; | 1292 | __u8 plen; |
1293 | __u8 n; | 1293 | __u8 n; |
1294 | 1294 | ||
1295 | self = (struct tsap_cb *) instance; | 1295 | self = instance; |
1296 | 1296 | ||
1297 | IRDA_ASSERT(self != NULL, return;); | 1297 | IRDA_ASSERT(self != NULL, return;); |
1298 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); | 1298 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); |
1299 | IRDA_ASSERT(skb != NULL, return;); | 1299 | IRDA_ASSERT(skb != NULL, return;); |
1300 | 1300 | ||
1301 | lsap = (struct lsap_cb *) sap; | 1301 | lsap = sap; |
1302 | 1302 | ||
1303 | self->max_seg_size = max_seg_size - TTP_HEADER; | 1303 | self->max_seg_size = max_seg_size - TTP_HEADER; |
1304 | self->max_header_size = max_header_size+TTP_HEADER; | 1304 | self->max_header_size = max_header_size+TTP_HEADER; |
@@ -1602,7 +1602,7 @@ static void irttp_disconnect_indication(void *instance, void *sap, | |||
1602 | 1602 | ||
1603 | IRDA_DEBUG(4, "%s()\n", __func__); | 1603 | IRDA_DEBUG(4, "%s()\n", __func__); |
1604 | 1604 | ||
1605 | self = (struct tsap_cb *) instance; | 1605 | self = instance; |
1606 | 1606 | ||
1607 | IRDA_ASSERT(self != NULL, return;); | 1607 | IRDA_ASSERT(self != NULL, return;); |
1608 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); | 1608 | IRDA_ASSERT(self->magic == TTP_TSAP_MAGIC, return;); |