Skip to contentSkip to conversation

staging: rt2860: remove superfluous newlines

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

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/3 staging: rt2860: remove superfluous newlines

From: Sebastian Dalfuß <[email protected]>

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

---

drivers/staging/rt2860/common/rtmp_init.c +1 -1
diff -ru a/drivers/staging/rt2860/common/rtmp_init.c b/drivers/staging/rt2860/common/rtmp_init.c
@@ -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 */
drivers/staging/rt2860/common/rtmp_mcu.c +1 -1
diff -ru a/drivers/staging/rt2860/common/rtmp_mcu.c b/drivers/staging/rt2860/common/rtmp_mcu.c
@@ -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;
 	}
 
drivers/staging/rt2860/rt_linux.c +1 -1
diff -ru a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c
@@ -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;
 	}