Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1529641

[PATCH 8/8] irda: w83977af_ir: Fix misindented block

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject [PATCH 8/8] irda: w83977af_ir: Fix misindented block
Date 2016-11-24 20:20 +0100
Message-ID <sH7IS-6We-33@gated-at.bofh.it> (permalink)
References <sH7IS-6We-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


One indent level too many is too many.

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/net/irda/w83977af_ir.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c
index 19b171af0e81..b865e93f01a0 100644
--- a/drivers/net/irda/w83977af_ir.c
+++ b/drivers/net/irda/w83977af_ir.c
@@ -517,15 +517,15 @@ static netdev_tx_t w83977af_hard_xmit(struct sk_buff *skb,
 
 		mtt = irda_get_mtt(skb);
 		pr_debug("%s: %ld, mtt=%d\n", __func__, jiffies, mtt);
-			if (mtt > 1000)
-				mdelay(mtt / 1000);
-			else if (mtt)
-				udelay(mtt);
+		if (mtt > 1000)
+			mdelay(mtt / 1000);
+		else if (mtt)
+			udelay(mtt);
 
-			/* Enable DMA interrupt */
-			switch_bank(iobase, SET0);
-			outb(ICR_EDMAI, iobase + ICR);
-			w83977af_dma_write(self, iobase);
+		/* Enable DMA interrupt */
+		switch_bank(iobase, SET0);
+		outb(ICR_EDMAI, iobase + ICR);
+		w83977af_dma_write(self, iobase);
 	} else {
 		self->tx_buff.data = self->tx_buff.head;
 		self->tx_buff.len = async_wrap_skb(skb, self->tx_buff.data,
-- 
2.10.0.rc2.1.g053435c

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] irda: w83977af_ir: Neatening Joe Perches <joe@perches.com> - 2016-11-24 20:20 +0100
  [PATCH 5/8] irda: w83977af_ir: Use the common brace style Joe Perches <joe@perches.com> - 2016-11-24 20:20 +0100
  [PATCH 3/8] irda: w83977af_ir: Remove unnecessary blank lines Joe Perches <joe@perches.com> - 2016-11-24 20:20 +0100
    Re: [PATCH 3/8] irda: w83977af_ir: Remove unnecessary blank lines Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-11-25 11:40 +0100
  [PATCH 2/8] irda: w83977af_ir: More whitespace neatening Joe Perches <joe@perches.com> - 2016-11-24 20:20 +0100
  [PATCH 8/8] irda: w83977af_ir: Fix misindented block Joe Perches <joe@perches.com> - 2016-11-24 20:20 +0100
  [PATCH 1/8] irda: w83977af_ir: whitespace neatening Joe Perches <joe@perches.com> - 2016-11-24 20:20 +0100
  [PATCH 6/8] irda: w83977af_ir: Parenthesis alignment Joe Perches <joe@perches.com> - 2016-11-24 20:20 +0100
  [PATCH 4/8] irda: w83977af_ir: Neaten pointer comparisons Joe Perches <joe@perches.com> - 2016-11-24 20:20 +0100
  Re: [PATCH 0/8] irda: w83977af_ir: Neatening Joe Perches <joe@perches.com> - 2016-12-05 19:20 +0100
    Re: [PATCH 0/8] irda: w83977af_ir: Neatening David Miller <davem@davemloft.net> - 2016-12-05 19:40 +0100

csiph-web