[PATCH] drivers/tty/serial/crisv10: fix double assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Struct member dma_in_enabled was assigned twice in a row.

Signed-off-by: Edwin van Vliet <edwin@xxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux