* [PATCH] ppp : white space cleanup
@ 2007-07-06 10:18 Philippe De Muyter
0 siblings, 0 replies; only message in thread
From: Philippe De Muyter @ 2007-07-06 10:18 UTC (permalink / raw)
To: linux-kernel
Hi all,
This removes useless spaces at begin of lines
Signed-off-by: Philippe De Muyter <phdm@macqel.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));
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-06 10:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-06 10:18 [PATCH] ppp : white space cleanup Philippe De Muyter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®