------------------------------------------------------------ revno: 5381 committer: Diego Biurrun <diego@xxxxxxxxxx> branch nick: hipl timestamp: Tue 2011-01-04 19:40:14 +0100 message: Drop all casts on the result of the list_find macro. Without the casts, no warnings are generated and the md5sums of the compiled .o files do not change, so it should be safe to remove them. modified: hipd/hiprelay.c -- lp:hipl https://code.launchpad.net/~hipl-core/hipl/trunk Your team HIPL core team is subscribed to branch lp:hipl. To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'hipd/hiprelay.c' --- hipd/hiprelay.c 2011-01-04 17:07:21 +0000 +++ hipd/hiprelay.c 2011-01-04 18:40:14 +0000 @@ -399,7 +399,7 @@ return NULL; } - return (struct hip_relrec *) list_find(rec, hiprelay_ht); + return list_find(rec, hiprelay_ht); } /** @@ -697,7 +697,7 @@ return NULL; } - return (hip_hit_t *) list_find(hit, hiprelay_wl); + return list_find(hit, hiprelay_wl); } #ifdef CONFIG_HIP_DEBUG