Thread (1 message) 1 message, 1 author, 2007-02-21

Re: [AF_PACKET] remove unnecessary casts

From: David Miller <davem@davemloft.net>
Date: 2007-02-21 07:20:09

From: Jason Lunz <redacted>
Date: Wed, 14 Feb 2007 18:35:58 -0500
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 <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help