[NETFILTER]: nfnetlink_queue: eliminate impossible switch case
authorPatrick McHardy <kaber@trash.net>
Wed, 5 Dec 2007 09:30:29 +0000 (01:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:22 +0000 (14:56 -0800)
commit861934c7c888973da8bf621b3959e408531539e1
treedd0f0c008e58c68bdb35129b00657ac873944461
parentea3a66ff5ae41daa1d1aa789140a70415eaf7b46
[NETFILTER]: nfnetlink_queue: eliminate impossible switch case

We don't need a default case in nfqnl_build_packet_message(), the
copy_mode is validated when it is set. Tell the compiler about
the possible types and remove the default case. Saves 80b of
text on x86_64.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_queue.c