public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Edwin van Vliet <edwin@cheatah.nl>
To: starvik@axis.com, jesper.nilsson@axis.com
Cc: alan@linux.intel.com, linux-cris-kernel@axis.com,
	linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	Edwin van Vliet <edwin@cheatah.nl>
Subject: [PATCH] drivers/tty/serial/crisv10: fix double assignment
Date: Mon, 11 Jul 2011 01:37:31 +0200	[thread overview]
Message-ID: <1310341051-27057-1-git-send-email-edwin@cheatah.nl> (raw)

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

             reply	other threads:[~2011-07-10 23:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 23:37 Edwin van Vliet [this message]
2011-07-10 23:39 ` [PATCH] drivers/tty/serial/crisv10: fix double assignment Jesper Juhl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1310341051-27057-1-git-send-email-edwin@cheatah.nl \
    --to=edwin@cheatah.nl \
    --cc=alan@linux.intel.com \
    --cc=jesper.nilsson@axis.com \
    --cc=linux-cris-kernel@axis.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=starvik@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox