summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@google.com>2017-07-27 16:28:15 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-07-28 17:45:13 -0700
commit84a952e0e867d2e862aefb72dd12efaf832a8fa8 (patch)
treec8fe62778ea52cf151f57e2b2cdccb73b3c8186e
parenta35218e20499a95ec7706f87cb48ff39c5451663 (diff)
downloadchrome-ec-84a952e0e867d2e862aefb72dd12efaf832a8fa8.tar.gz
npcx: Drop unused cmd_params from lpc.c
cmd_params is static, const and unused. Drop it. BUG=none BRANCH=none TEST=USE=coreboot-sdk emerge-fizz chromeos-ec succeeds. Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Change-Id: I62444d81affde9e3e0d4da1d1ee2d5d51a337bb6 Reviewed-on: https://chromium-review.googlesource.com/590676 Commit-Ready: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
-rw-r--r--chip/npcx/lpc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/npcx/lpc.c b/chip/npcx/lpc.c
index fb3b240895..7770609c1b 100644
--- a/chip/npcx/lpc.c
+++ b/chip/npcx/lpc.c
@@ -70,8 +70,6 @@ static uint8_t shm_memmap[256] __aligned(8);
static uint8_t params_copy[EC_LPC_HOST_PACKET_SIZE] __aligned(4);
static int init_done;
-static uint8_t * const cmd_params = (uint8_t *)shm_mem_host_cmd +
- EC_LPC_ADDR_HOST_PARAM - EC_LPC_ADDR_HOST_ARGS;
static struct ec_lpc_host_args * const lpc_host_args =
(struct ec_lpc_host_args *)shm_mem_host_cmd;