Subject: Re: [PATCH ipsec-next v3 2/2] xfrm: configure policy hash table thresholds by netlink

From: Steffen Klassert <[email-masked]>
Date: Fri, 29 Aug 2014 11:54:31 +0200

On Wed, Aug 27, 2014 at 05:48:15PM +0200, Christophe Gouault wrote:
>  
> +static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh,
> +			    struct nlattr **attrs)
> +{
> +	struct net *net = sock_net(skb->sk);
> +	u32 *flags = nlmsg_data(nlh);
> +	u32 sportid = NETLINK_CB(skb).portid;
> +	u32 seq = nlh->nlmsg_seq;

flags, sportid and seq are unused now. Please remove them.