Skip to content

Commit

Permalink
dcbnl: Silence harmless gcc warning about uninitialized reply_nlh
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Graf <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
tgraf authored and davem330 committed Jun 14, 2012
1 parent 0450243 commit 39912f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/dcb/dcbnl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 39912f9

Please sign in to comment.