lkml.org 
[lkml]   [2011]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] drivers/tty/serial/crisv10: fix double assignment
Date
Struct member dma_in_enabled was assigned twice in a row.

Signed-off-by: Edwin van Vliet <edwin@cheatah.nl>
---
drivers/tty/serial/crisv10.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/tty/serial/crisv10.c b/drivers/tty/serial/crisv10.c
index 225123b..0c55181 100644
--- a/drivers/tty/serial/crisv10.c
+++ b/drivers/tty/serial/crisv10.c
@@ -330,7 +330,6 @@ static struct e100_serial rs_table[] = {
.dma_in_irq_description = "serial 1 dma rec",
#else
.dma_in_enabled = 0,
- .dma_in_enabled = 0,
.dma_in_nbr = UINT_MAX,
.dma_in_irq_nbr = 0,
.dma_in_irq_flags = 0,
--
1.7.5.4


\
 
 \ /
  Last update: 2011-07-11 01:41    [W:0.037 / U:25.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site