mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
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>
This commit is contained in:
committed by
chrome-bot
parent
a35218e204
commit
84a952e0e8
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user