netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] af_packet: remove a stray tab in packet_set_ring()
@ 2014-02-18 12:20 Dan Carpenter
  2014-02-18 15:52 ` Daniel Borkmann
  2014-02-18 23:02 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Carpenter @ 2014-02-18 12:20 UTC (permalink / raw)
  To: David S. Miller
  Cc: Daniel Borkmann, Willem de Bruijn, Hannes Frederic Sowa,
	Eric Dumazet, Phil Sutter, Atzm Watanabe, Richard Cochran, netdev,
	kernel-janitors

At first glance it looks like there is a missing curly brace but
actually the code works the same either way.  I have adjusted the
indenting but left the code the same.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index 6a2bb37506c5..7fd37de503d1 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -3786,7 +3786,7 @@ static int packet_set_ring(struct sock *sk, union tpacket_req_u *req_u,
 		 */
 			if (!tx_ring)
 				init_prb_bdqc(po, rb, pg_vec, req_u, tx_ring);
-				break;
+			break;
 		default:
 			break;
 		}

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-18 23:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 12:20 [patch] af_packet: remove a stray tab in packet_set_ring() Dan Carpenter
2014-02-18 15:52 ` Daniel Borkmann
2014-02-18 23:02 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).