diff options
| author | Jeff Mahoney <jeffm@suse.com> | 2016-04-04 14:15:23 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 06:23:23 +0200 |
| commit | e5a19cf78a23d7b9d87ce3421fce27ffcd4ca986 (patch) | |
| tree | d6d3ba5ac5bd5c4af292f0940966065e7c1dc6c7 /tools/perf/scripts/python/bin | |
| parent | 08d870c51ec512d9a7ec243aa24180e517243b32 (diff) | |
mac80211: fix "warning: ‘target_metric’ may be used uninitialized"
[ Upstream commit b4201cc4fc6e1c57d6d306b1f787865043d60129 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
