]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[AF_PACKET]: Remove unnecessary casts.
authorJason Lunz <lunz@falooley.org>
Wed, 21 Feb 2007 07:19:54 +0000 (23:19 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
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 <lunz@falooley.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c