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

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

From: Sebastian Dalfuß <sd@sedf.de>
Subject: [Patch 2/3] staging: rt2860: remove superfluous newlines

This patch is based on 2.6.32-rc6

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 b/drivers/staging/rt2860/common/dfs.c c/drivers/staging/rt2860/common/dfs.c
--- b/drivers/staging/rt2860/common/dfs.c	2009-11-04 23:32:24.000000000 +0100
+++ c/drivers/staging/rt2860/common/dfs.c	2009-11-05 00:06:25.872076137 +0100
@@ -367,7 +367,7 @@
 	// channel availability check time is 60sec, use 65 for assurance
 	if (pAd->CommonCfg.RadarDetect.RDCount++ > pAd->CommonCfg.RadarDetect.ChMovingTime)
 	{
-		DBGPRINT(RT_DEBUG_TRACE, ("Not found radar signal, start send beacon and radar detection in service monitor\n\n"));
+		DBGPRINT(RT_DEBUG_TRACE, ("Not found radar signal, start send beacon and radar detection in service monitor\n"));
 			BbpRadarDetectionStop(pAd);
 		AsicEnableBssSync(pAd);
 		pAd->CommonCfg.RadarDetect.RDMode = RD_NORMAL_MODE;
diff -ru b/drivers/staging/rt2860/common/rtmp_init.c c/drivers/staging/rt2860/common/rtmp_init.c
--- b/drivers/staging/rt2860/common/rtmp_init.c	2009-11-04 23:32:24.000000000 +0100
+++ c/drivers/staging/rt2860/common/rtmp_init.c	2009-11-05 00:05:45.312078083 +0100
@@ -244,7 +244,7 @@
 			break;
 		}
 		pAd->BeaconBuf = pBeaconBuf;
-		printk("\n\n=== pAd = %p, size = %d ===\n\n", pAd, (UINT32)sizeof(RTMP_ADAPTER));
+		printk("=== pAd = %p, size = %d ===\n", pAd, (UINT32)sizeof(RTMP_ADAPTER));
 
 
 		// Init spin locks
@@ -3031,7 +3031,7 @@
     if (Index > 1000)
 	{
 		Status = NDIS_STATUS_FAILURE;
-		DBGPRINT(RT_DEBUG_ERROR, ("NICLoadFirmware: MCU is not ready\n\n\n"));
+		DBGPRINT(RT_DEBUG_ERROR, ("NICLoadFirmware: MCU is not ready\n"));
 	} /* End of if */
 
     DBGPRINT(RT_DEBUG_TRACE,
diff -ru b/drivers/staging/rt2860/rt_linux.c c/drivers/staging/rt2860/rt_linux.c
--- b/drivers/staging/rt2860/rt_linux.c	2009-11-04 23:32:24.000000000 +0100
+++ c/drivers/staging/rt2860/rt_linux.c	2009-11-05 00:07:10.402917865 +0100
@@ -384,7 +384,7 @@
  	{
 		*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-05  6:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-05  6:07 [Patch 2/3] 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

Powered by JetHome