提交 d53c0ef3 编写于 作者: A Andy Shevchenko 提交者: Mark Brown

spi: dw: eliminate unused threshold variables

The tx_threshold and rx_threshold variables are not used anywhere. Remove them.
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 de6feda8
......@@ -36,8 +36,6 @@ struct chip_data {
u8 poll_mode; /* 1 means use poll mode */
u32 rx_threshold;
u32 tx_threshold;
u8 enable_dma;
u16 clk_div; /* baud rate divider */
u32 speed_hz; /* baud rate */
......@@ -425,9 +423,6 @@ static int dw_spi_setup(struct spi_device *spi)
chip->poll_mode = chip_info->poll_mode;
chip->type = chip_info->type;
chip->rx_threshold = 0;
chip->tx_threshold = 0;
}
chip->tmode = 0; /* Tx & Rx */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部