diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-04-04 20:15:23 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-06 15:10:25 +0200 |
commit | b4201cc4fc6e1c57d6d306b1f787865043d60129 (patch) | |
tree | d035ab25e1fdcb06bcad0f95e4ab1bf4398a17af /net/sched/sch_cbq.c | |
parent | mac80211: close the SP when we enqueue frames during the SP (diff) | |
download | linux-b4201cc4fc6e1c57d6d306b1f787865043d60129.tar.xz linux-b4201cc4fc6e1c57d6d306b1f787865043d60129.zip |
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 'net/sched/sch_cbq.c')
0 files changed, 0 insertions, 0 deletions