Commit e212ab47 authored by Andrew Jeffery's avatar Andrew Jeffery Committed by Benjamin Herrenschmidt

fsi: gpio: Remove unused 'id' variable

Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: default avatarJoel Stanley <joel@jms.id.au>
parent 918da951
...@@ -270,7 +270,7 @@ static int read_one_response(struct fsi_master_gpio *master, ...@@ -270,7 +270,7 @@ static int read_one_response(struct fsi_master_gpio *master,
uint8_t data_size, struct fsi_gpio_msg *msgp, uint8_t *tagp) uint8_t data_size, struct fsi_gpio_msg *msgp, uint8_t *tagp)
{ {
struct fsi_gpio_msg msg; struct fsi_gpio_msg msg;
uint8_t id, tag; uint8_t tag;
uint32_t crc; uint32_t crc;
int i; int i;
...@@ -295,7 +295,6 @@ static int read_one_response(struct fsi_master_gpio *master, ...@@ -295,7 +295,6 @@ static int read_one_response(struct fsi_master_gpio *master,
/* Read slave ID & response tag */ /* Read slave ID & response tag */
serial_in(master, &msg, 4); serial_in(master, &msg, 4);
id = (msg.msg >> FSI_GPIO_MSG_RESPID_SIZE) & 0x3;
tag = msg.msg & 0x3; tag = msg.msg & 0x3;
/* If we have an ACK and we're expecting data, clock the data in too */ /* If we have an ACK and we're expecting data, clock the data in too */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment