From: Sebastian Dalfuß on
From: Sebastian Dalfuß <sd(a)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(a)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;
}