mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Patch 2/3 v2] staging: rt2860: remove superfluous newlines
@ 2009-11-06 13:49 Sebastian Dalfuß
  0 siblings, 0 replies; only message in thread
From: Sebastian Dalfuß @ 2009-11-06 13:49 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-06 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-06 13:49 [Patch 2/3 v2] staging: rt2860: remove superfluous newlines Sebastian Dalfuß

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®