Skip to content
Snippets Groups Projects
Commit ad930650 authored by Jason Lunz's avatar Jason Lunz Committed by David S. Miller
Browse files

[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: default avatarJason Lunz <lunz@falooley.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ca17c233
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment