Staging: rt2860: remove superfluous newlines
authorSebastian Dalfuß <sd@sedf.de>
Fri, 6 Nov 2009 13:49:28 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:23:16 +0000 (12:23 -0800)
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>
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/rtmp_init.c
drivers/staging/rt2860/common/rtmp_mcu.c
drivers/staging/rt2860/rt_linux.c

index 46e7a2a4112585bfd070a2b808d47785aff3bcf5..d3c7c17e36a8edfb456cc948c6c6ff9a1d534c6f 100644 (file)
@@ -181,7 +181,7 @@ int RTMPAllocAdapterBlock(void *handle,
                }
                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 */
index 683abad30f668eb77b949e1c0051e949bc29f433..9f03901433bbddb05c756ca4a2db9666ca2c0b38 100644 (file)
@@ -163,7 +163,7 @@ int RtmpAsicLoadFirmware(struct rt_rtmp_adapter *pAd)
 
        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;
        }
 
index a94593c548ef37b0ef479cbd32d239a79bafa84b..d84ac32b8a879b8c212092f7fe0f7dead950320d 100644 (file)
@@ -340,7 +340,7 @@ int RTMPAllocateNdisPacket(struct rt_rtmp_adapter *pAd,
        if (pPacket == NULL) {
                *ppPacket = NULL;
 #ifdef DEBUG
-               printk("RTMPAllocateNdisPacket Fail\n\n");
+               printk("RTMPAllocateNdisPacket Fail\n");
 #endif
                return NDIS_STATUS_FAILURE;
        }