Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39912f9c authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller
Browse files

dcbnl: Silence harmless gcc warning about uninitialized reply_nlh



Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 04502430
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))