Skip to contentSkip to conversation

staging: rt2860: remove superfluous newlines

PATCH In review Sebastian Dalfuß 1 participant 1 message Nov 5, 2009 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 staging: rt2860: remove superfluous newlines

From: Sebastian Dalfuß <[email protected]>
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.

---

drivers/staging/rt2860/common/dfs.c +1 -1
diff -ru b/drivers/staging/rt2860/common/dfs.c c/drivers/staging/rt2860/common/dfs.c
@@ -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;
drivers/staging/rt2860/common/rtmp_init.c +2 -2
diff -ru b/drivers/staging/rt2860/common/rtmp_init.c c/drivers/staging/rt2860/common/rtmp_init.c
@@ -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,
drivers/staging/rt2860/rt_linux.c +1 -1
diff -ru b/drivers/staging/rt2860/rt_linux.c c/drivers/staging/rt2860/rt_linux.c
@@ -384,7 +384,7 @@
  	{
 		*ppPacket = NULL;
 #ifdef DEBUG
-		printk("RTMPAllocateNdisPacket Fail\n\n");
+		printk("RTMPAllocateNdisPacket Fail\n");
 #endif
 		return NDIS_STATUS_FAILURE;
 	}