]> Git Repo - linux.git/commit - net/packet/af_packet.c
[AF_PACKET]: Remove unnecessary casts.
authorJason Lunz <[email protected]>
Wed, 21 Feb 2007 07:19:54 +0000 (23:19 -0800)
committerDavid S. Miller <[email protected]>
Mon, 26 Feb 2007 19:42:45 +0000 (11:42 -0800)
commitad930650c0e694233971c56e8de8e78b896e2613
treec14d67f354f8d8d93cd1e160f196e08474d43061
parentca17c23345308a8692a65a0cca363d9108a665ca
[AF_PACKET]: Remove unnecessary casts.

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*.

Signed-off-by: Jason Lunz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/packet/af_packet.c
This page took 0.064795 seconds and 4 git commands to generate.