spi: pl022: delete unused next_msg_cs_active in struct pl022
authorNam Cao <namcao@linutronix.de>
Mon, 11 Dec 2023 12:49:15 +0000 (13:49 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Dec 2023 12:54:44 +0000 (12:54 +0000)
The member next_msg_cs_active of struct pl022 is not used anywhere.
Delete it.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Link: https://msgid.link/r/424fec01a75f6a881edcce189ac68b3408b62f29.1702298527.git.namcao@linutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pl022.c

index fd21e83cc3a45153f3941ce386ad5948a1b06d35..3baf45da01cd2c1be4fa4b83870f8a08122fe6a9 100644 (file)
@@ -341,10 +341,6 @@ struct vendor_data {
  * @cur_msg: Pointer to current spi_message being processed
  * @cur_transfer: Pointer to current spi_transfer
  * @cur_chip: pointer to current clients chip(assigned from controller_state)
- * @next_msg_cs_active: the next message in the queue has been examined
- *  and it was found that it uses the same chip select as the previous
- *  message, so we left it active after the previous transfer, and it's
- *  active already.
  * @tx: current position in TX buffer to be read
  * @tx_end: end position in TX buffer to be read
  * @rx: current position in RX buffer to be written
@@ -372,7 +368,6 @@ struct pl022 {
        struct pl022_ssp_controller     *host_info;
        struct spi_transfer             *cur_transfer;
        struct chip_data                *cur_chip;
-       bool                            next_msg_cs_active;
        void                            *tx;
        void                            *tx_end;
        void                            *rx;