summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dalfuß <sd@sedf.de>2009-11-06 14:49:28 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:23:16 -0800
commitd6dbc0126beedc43f19abb5870c892f7bd105b2c (patch)
treec95fcdd94ac83fc93d9e7c99c2c7d541c68cb9c8
parentad26848142950277172a983e7e525fa8806a6300 (diff)
downloadlinux-d6dbc0126beedc43f19abb5870c892f7bd105b2c.tar.bz2
Staging: rt2860: remove superfluous newlines
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>
-rw-r--r--drivers/staging/rt2860/common/rtmp_init.c2
-rw-r--r--drivers/staging/rt2860/common/rtmp_mcu.c2
-rw-r--r--drivers/staging/rt2860/rt_linux.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rt2860/common/rtmp_init.c b/drivers/staging/rt2860/common/rtmp_init.c
index 46e7a2a41125..d3c7c17e36a8 100644
--- a/drivers/staging/rt2860/common/rtmp_init.c
+++ b/drivers/staging/rt2860/common/rtmp_init.c
@@ -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 */
diff --git a/drivers/staging/rt2860/common/rtmp_mcu.c b/drivers/staging/rt2860/common/rtmp_mcu.c
index 683abad30f66..9f03901433bb 100644
--- a/drivers/staging/rt2860/common/rtmp_mcu.c
+++ b/drivers/staging/rt2860/common/rtmp_mcu.c
@@ -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;
}
diff --git a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c
index a94593c548ef..d84ac32b8a87 100644
--- a/drivers/staging/rt2860/rt_linux.c
+++ b/drivers/staging/rt2860/rt_linux.c
@@ -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;
}