Skip to contentSkip to conversation

remove unnecessary casts

AF_PACKET David Miller 1 participant 1 message Feb 21, 2007 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

David Miller

author maintainer Applied
#1 lore raw

From: Jason Lunz <[email protected]>
Date: Wed, 14 Feb 2007 18:35:58 -0500

Quoted 6 lines

packet_lookup_frame() always returns tpacket_hdr*, so there's no reason to return char* and require casting by callers.

Also, remove a cast of void*.

Applied, thank you.