diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-06-16 09:42:37 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-06-16 09:42:37 +0200 |
commit | 5b854e5e13d3b44f68c1069a6bb5808f77fca134 (patch) | |
tree | c95bcf91419108d9b6c37a6081ea7fc666edb6c7 /pkt_buff.h | |
parent | 1cc762aa8f89a5e4324f1482d97affa5ef6298bd (diff) |
pkt_buff: Remove unnecessary void cast
lookup_hash() returns void * which does not need to be cast.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'pkt_buff.h')
-rw-r--r-- | pkt_buff.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ static inline void pkt_set_proto(struct pkt_buff *pkt, struct hash_table *table, { bug_on(!pkt || !table); - pkt->proto = (struct protocol *) lookup_hash(key, table); + pkt->proto = lookup_hash(key, table); while (pkt->proto && key != pkt->proto->key) pkt->proto = pkt->proto->next; } |