diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-17 20:02:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-17 20:02:51 -0400 |
commit | d87d7fb381c153f71b7cdfd37f3513edc6d0eb8f (patch) | |
tree | e62735aba62beed9f6919282b958dc2f9037965d | |
parent | dab51d0e0718e7beef26075a9353f09ea2652a4f (diff) |
netfilter: nfnetlink_log: Fix set-but-unused variables.
The variable 'tmp_uint' is set but unused in __build_packet_message().
Just kill it off.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/netfilter/nfnetlink_log.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c index 985e9b76c916..e0ee010935e7 100644 --- a/net/netfilter/nfnetlink_log.c +++ b/net/netfilter/nfnetlink_log.c | |||
@@ -381,7 +381,6 @@ __build_packet_message(struct nfulnl_instance *inst, | |||
381 | struct nfulnl_msg_packet_hdr pmsg; | 381 | struct nfulnl_msg_packet_hdr pmsg; |
382 | struct nlmsghdr *nlh; | 382 | struct nlmsghdr *nlh; |
383 | struct nfgenmsg *nfmsg; | 383 | struct nfgenmsg *nfmsg; |
384 | __be32 tmp_uint; | ||
385 | sk_buff_data_t old_tail = inst->skb->tail; | 384 | sk_buff_data_t old_tail = inst->skb->tail; |
386 | 385 | ||
387 | nlh = NLMSG_PUT(inst->skb, 0, 0, | 386 | nlh = NLMSG_PUT(inst->skb, 0, 0, |
@@ -428,7 +427,6 @@ __build_packet_message(struct nfulnl_instance *inst, | |||
428 | } | 427 | } |
429 | 428 | ||
430 | if (outdev) { | 429 | if (outdev) { |
431 | tmp_uint = htonl(outdev->ifindex); | ||
432 | #ifndef CONFIG_BRIDGE_NETFILTER | 430 | #ifndef CONFIG_BRIDGE_NETFILTER |
433 | NLA_PUT_BE32(inst->skb, NFULA_IFINDEX_OUTDEV, | 431 | NLA_PUT_BE32(inst->skb, NFULA_IFINDEX_OUTDEV, |
434 | htonl(outdev->ifindex)); | 432 | htonl(outdev->ifindex)); |