]> git.baikalelectronics.ru Git - kernel.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)
commite12c21781ec9f7a5df800d04102e4db51a1d98ed
treec14d67f354f8d8d93cd1e160f196e08474d43061
parentccf0ad987f542f78866b1cb8596f6984ca71f873
[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