From 79e83cfe19fc05e764110b3bb9fea3fcc16dfb5f Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Tue, 12 Jul 2016 19:50:16 +0200 Subject: [PATCH] dt: Remove unused wifi device mapping array This removes the if_to_address structure that is no longer used. Commit 34b7ddb1a8a1b1bffd20e50efcfa04c8e0f6db6d (dt: function to copy WiFi calibration data into the device tree) removed any use for this structure. Thus, it may trigger a compiler warning in some setups. BUG=None BRANCH=None TEST=build depthcharge for veyron_speedy and run it up to the system Change-Id: I239640cb4d285040d3ea81dd47d8501fb80e4a15 Signed-off-by: Paul Kocialkowski Reviewed-on: https://chromium-review.googlesource.com/360111 Reviewed-by: Julius Werner --- src/base/dt_set_wifi_calibration.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/base/dt_set_wifi_calibration.c b/src/base/dt_set_wifi_calibration.c index e70e2329..606de12b 100644 --- a/src/base/dt_set_wifi_calibration.c +++ b/src/base/dt_set_wifi_calibration.c @@ -45,9 +45,6 @@ struct calibration_entry { struct calibration_blob entries[0]; /* A varialble size container. */ }; -/* Mapping of interface numbers into the wifi device address on the PCI bus. */ -static const uint32_t if_to_address[] = { 0x1b500000, 0x1b700000, 0x1b900000 }; - static int blob_is_valid(struct calibration_entry *cal_entry, struct calibration_blob *cal_blob) { -- 2.11.0