mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Sebastian Dalfuß" <sd@sedf.de>
To: greg@kroah.com
Cc: linux-kernel@vger.kernel.org
Subject: [Patch 2/3 v2] staging: rt2860: remove superfluous newlines
Date: Fri, 6 Nov 2009 14:49:28 +0100	[thread overview]
Message-ID: <20091106134928.GC27210@sedf.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1704 bytes --]

From: Sebastian Dalfuß <sd@sedf.de>

This patch is based on next-20091106.
This tiny patch removes a few quite unnecessary extra newlines from
DBGPRINT() and printk() strings.

Signed-off-by: Sebastian Dalfuß <sd@sedf.de>
---
diff -ru a/drivers/staging/rt2860/common/rtmp_init.c b/drivers/staging/rt2860/common/rtmp_init.c
--- a/drivers/staging/rt2860/common/rtmp_init.c	2009-11-06 08:03:10.000000000 +0100
+++ b/drivers/staging/rt2860/common/rtmp_init.c	2009-11-06 11:38:21.472706092 +0100
@@ -181,7 +181,7 @@
 		}
 		pAd->BeaconBuf = pBeaconBuf;
 		DBGPRINT(RT_DEBUG_OFF,
-			 ("\n\n=== pAd = %p, size = %d ===\n\n", pAd,
+			 ("=== pAd = %p, size = %d ===\n", pAd,
 			  (u32)sizeof(struct rt_rtmp_adapter)));
 
 		/* Init spin locks */
diff -ru a/drivers/staging/rt2860/common/rtmp_mcu.c b/drivers/staging/rt2860/common/rtmp_mcu.c
--- a/drivers/staging/rt2860/common/rtmp_mcu.c	2009-11-06 08:03:10.000000000 +0100
+++ b/drivers/staging/rt2860/common/rtmp_mcu.c	2009-11-06 11:38:49.121828754 +0100
@@ -163,7 +163,7 @@
 
 	if (Index > 1000) {
 		DBGPRINT(RT_DEBUG_ERROR,
-			 ("NICLoadFirmware: MCU is not ready\n\n\n"));
+			 ("NICLoadFirmware: MCU is not ready\n"));
 		Status = NDIS_STATUS_FAILURE;
 	}
 
diff -ru a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c
--- a/drivers/staging/rt2860/rt_linux.c	2009-11-06 08:03:10.000000000 +0100
+++ b/drivers/staging/rt2860/rt_linux.c	2009-11-06 11:39:31.972697405 +0100
@@ -340,7 +340,7 @@
 	if (pPacket == NULL) {
 		*ppPacket = NULL;
 #ifdef DEBUG
-		printk("RTMPAllocateNdisPacket Fail\n\n");
+		printk("RTMPAllocateNdisPacket Fail\n");
 #endif
 		return NDIS_STATUS_FAILURE;
 	}


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

                 reply	other threads:[~2009-11-06 13:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20091106134928.GC27210@sedf.de \
    --to=sd@sedf.de \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®