diff options
author | Thomas Graf <tgraf@suug.ch> | 2012-06-13 22:34:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-14 01:45:46 -0700 |
commit | 39912f9cf9603f0de085fb5ba916a7a88010ccd9 (patch) | |
tree | 9ec17f11acc4f10cc1e823aed1c9dc834796347f /net/dcb | |
parent | 0450243096de90ff51c3a6c605410c5e28d79f8d (diff) | |
download | linux-stable-39912f9cf9603f0de085fb5ba916a7a88010ccd9.tar.gz linux-stable-39912f9cf9603f0de085fb5ba916a7a88010ccd9.tar.bz2 linux-stable-39912f9cf9603f0de085fb5ba916a7a88010ccd9.zip |
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>
Diffstat (limited to 'net/dcb')
-rw-r--r-- | net/dcb/dcbnl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c index 70bba3eb4ae9..da6ee81ce51f 100644 --- a/net/dcb/dcbnl.c +++ b/net/dcb/dcbnl.c @@ -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)) |