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>
This commit is contained in:
parent
dab51d0e07
commit
d87d7fb381
1 changed files with 0 additions and 2 deletions
|
@ -381,7 +381,6 @@ __build_packet_message(struct nfulnl_instance *inst,
|
||||||
struct nfulnl_msg_packet_hdr pmsg;
|
struct nfulnl_msg_packet_hdr pmsg;
|
||||||
struct nlmsghdr *nlh;
|
struct nlmsghdr *nlh;
|
||||||
struct nfgenmsg *nfmsg;
|
struct nfgenmsg *nfmsg;
|
||||||
__be32 tmp_uint;
|
|
||||||
sk_buff_data_t old_tail = inst->skb->tail;
|
sk_buff_data_t old_tail = inst->skb->tail;
|
||||||
|
|
||||||
nlh = NLMSG_PUT(inst->skb, 0, 0,
|
nlh = NLMSG_PUT(inst->skb, 0, 0,
|
||||||
|
@ -428,7 +427,6 @@ __build_packet_message(struct nfulnl_instance *inst,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (outdev) {
|
if (outdev) {
|
||||||
tmp_uint = htonl(outdev->ifindex);
|
|
||||||
#ifndef CONFIG_BRIDGE_NETFILTER
|
#ifndef CONFIG_BRIDGE_NETFILTER
|
||||||
NLA_PUT_BE32(inst->skb, NFULA_IFINDEX_OUTDEV,
|
NLA_PUT_BE32(inst->skb, NFULA_IFINDEX_OUTDEV,
|
||||||
htonl(outdev->ifindex));
|
htonl(outdev->ifindex));
|
||||||
|
|
Loading…
Add table
Reference in a new issue