[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070706101823.GA12380@muff.macqel.be>
Date: Fri, 6 Jul 2007 12:18:23 +0200
From: Philippe De Muyter <phdm@...qel.be>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] ppp : white space cleanup
Hi all,
This removes useless spaces at begin of lines
Signed-off-by: Philippe De Muyter <phdm@...qel.be>
diff -r 6c0a10cc415a drivers/net/ppp_async.c
--- a/drivers/net/ppp_async.c Thu Jul 5 16:10:16 2007 -0700
+++ b/drivers/net/ppp_async.c Fri Jul 6 12:15:38 2007 +0200
@@ -887,15 +887,15 @@ ppp_async_input(struct asyncppp *ap, con
skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2);
if (skb == 0)
goto nomem;
- ap->rpkt = skb;
- }
- if (skb->len == 0) {
- /* Try to get the payload 4-byte aligned.
- * This should match the
- * PPP_ALLSTATIONS/PPP_UI/compressed tests in
- * process_input_packet, but we do not have
- * enough chars here to test buf[1] and buf[2].
- */
+ ap->rpkt = skb;
+ }
+ if (skb->len == 0) {
+ /* Try to get the payload 4-byte aligned.
+ * This should match the
+ * PPP_ALLSTATIONS/PPP_UI/compressed tests in
+ * process_input_packet, but we do not have
+ * enough chars here to test buf[1] and buf[2].
+ */
if (buf[0] != PPP_ALLSTATIONS)
skb_reserve(skb, 2 + (buf[0] & 1));
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists