Skip to content

Commit 3c49d84

Browse files
covanambroonie
authored andcommitted
spi: pl022: delete unused next_msg_cs_active in struct pl022
The member next_msg_cs_active of struct pl022 is not used anywhere. Delete it. Signed-off-by: Nam Cao <[email protected]> Link: https://msgid.link/r/424fec01a75f6a881edcce189ac68b3408b62f29.1702298527.git.namcao@linutronix.de Signed-off-by: Mark Brown <[email protected]>
1 parent 4c6dd33 commit 3c49d84

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/spi/spi-pl022.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,6 @@ struct vendor_data {
341341
* @cur_msg: Pointer to current spi_message being processed
342342
* @cur_transfer: Pointer to current spi_transfer
343343
* @cur_chip: pointer to current clients chip(assigned from controller_state)
344-
* @next_msg_cs_active: the next message in the queue has been examined
345-
* and it was found that it uses the same chip select as the previous
346-
* message, so we left it active after the previous transfer, and it's
347-
* active already.
348344
* @tx: current position in TX buffer to be read
349345
* @tx_end: end position in TX buffer to be read
350346
* @rx: current position in RX buffer to be written
@@ -372,7 +368,6 @@ struct pl022 {
372368
struct pl022_ssp_controller *host_info;
373369
struct spi_transfer *cur_transfer;
374370
struct chip_data *cur_chip;
375-
bool next_msg_cs_active;
376371
void *tx;
377372
void *tx_end;
378373
void *rx;

0 commit comments

Comments
 (0)