omap: mcbsp: Remove rx_/tx_word_length variables
These variables got unused after ("omap: mcbsp: Drop in-driver transfer support") but was noticed only afterwards. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
committed by
Tony Lindgren
parent
48cb1258e8
commit
9df0fcc4c8
@@ -385,8 +385,6 @@ struct omap_mcbsp {
|
|||||||
void __iomem *io_base;
|
void __iomem *io_base;
|
||||||
u8 id;
|
u8 id;
|
||||||
u8 free;
|
u8 free;
|
||||||
omap_mcbsp_word_length rx_word_length;
|
|
||||||
omap_mcbsp_word_length tx_word_length;
|
|
||||||
|
|
||||||
int rx_irq;
|
int rx_irq;
|
||||||
int tx_irq;
|
int tx_irq;
|
||||||
|
@@ -869,9 +869,6 @@ void omap_mcbsp_start(unsigned int id, int tx, int rx)
|
|||||||
if (cpu_is_omap34xx())
|
if (cpu_is_omap34xx())
|
||||||
omap_st_start(mcbsp);
|
omap_st_start(mcbsp);
|
||||||
|
|
||||||
mcbsp->rx_word_length = (MCBSP_READ_CACHE(mcbsp, RCR1) >> 5) & 0x7;
|
|
||||||
mcbsp->tx_word_length = (MCBSP_READ_CACHE(mcbsp, XCR1) >> 5) & 0x7;
|
|
||||||
|
|
||||||
/* Only enable SRG, if McBSP is master */
|
/* Only enable SRG, if McBSP is master */
|
||||||
w = MCBSP_READ_CACHE(mcbsp, PCR0);
|
w = MCBSP_READ_CACHE(mcbsp, PCR0);
|
||||||
if (w & (FSXM | FSRM | CLKXM | CLKRM))
|
if (w & (FSXM | FSRM | CLKXM | CLKRM))
|
||||||
|
Reference in New Issue
Block a user