diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2011-07-01 08:52:26 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-07-07 12:06:16 -0700 |
commit | 9df0fcc4c842703080ee431112d624b1f8f2f1c8 (patch) | |
tree | 8eec4c7d18414d170cc737d6cb9f0cd5dcf23112 /arch/arm/plat-omap/mcbsp.c | |
parent | 48cb1258e8b0f8c81cfb699b42326c5b2147b3f8 (diff) |
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>
Diffstat (limited to 'arch/arm/plat-omap/mcbsp.c')
-rw-r--r-- | arch/arm/plat-omap/mcbsp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 455eadcd820..3c1fbdc9246 100644 --- a/arch/arm/plat-omap/mcbsp.c +++ b/arch/arm/plat-omap/mcbsp.c @@ -869,9 +869,6 @@ void omap_mcbsp_start(unsigned int id, int tx, int rx) if (cpu_is_omap34xx()) 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 */ w = MCBSP_READ_CACHE(mcbsp, PCR0); if (w & (FSXM | FSRM | CLKXM | CLKRM)) |