提交 39912f9c 编写于 作者: T Thomas Graf 提交者: David S. Miller

dcbnl: Silence harmless gcc warning about uninitialized reply_nlh

Signed-off-by: NThomas Graf <tgraf@suug.ch>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 04502430
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册