mirror of https://gitee.com/openkylin/linux.git
dcbnl: Silence harmless gcc warning about uninitialized reply_nlh
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0450243096
commit
39912f9cf9
|
@ -1664,7 +1664,7 @@ static int dcb_doit(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
|
|||
u32 pid = skb ? NETLINK_CB(skb).pid : 0;
|
||||
int ret = -EINVAL;
|
||||
struct sk_buff *reply_skb;
|
||||
struct nlmsghdr *reply_nlh;
|
||||
struct nlmsghdr *reply_nlh = NULL;
|
||||
const struct reply_func *fn;
|
||||
|
||||
if (!net_eq(net, &init_net))
|
||||
|
|
Loading…
Reference in New Issue