summaryrefslogtreecommitdiffstats
path: root/include/net/dcbevent.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-04-04 14:15:23 -0400
committerJohannes Berg <johannes.berg@intel.com>2016-04-06 15:10:25 +0200
commitb4201cc4fc6e1c57d6d306b1f787865043d60129 (patch)
treed035ab25e1fdcb06bcad0f95e4ab1bf4398a17af /include/net/dcbevent.h
parentf6d4671a08810ff5111099dd1febe57e7eb9ba59 (diff)
downloadop-kernel-dev-b4201cc4fc6e1c57d6d306b1f787865043d60129.zip
op-kernel-dev-b4201cc4fc6e1c57d6d306b1f787865043d60129.tar.gz
mac80211: fix "warning: ‘target_metric’ may be used uninitialized"
This fixes: net/mac80211/mesh_hwmp.c:603:26: warning: ‘target_metric’ may be used uninitialized in this function target_metric is only consumed when reply = true so no bug exists here, but not all versions of gcc realize it. Initialize to 0 to remove the warning. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/dcbevent.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud