Skip to content

Commit

Permalink
Staging: rt2860: remove superfluous newlines
Browse files Browse the repository at this point in the history
commit d6dbc01 upstream.

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ß <[email protected]>
Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Sebastian Dalfuß authored and debian-kernel-patches-to-git committed Mar 12, 2011
1 parent a5dc325 commit 968e8c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/rt2860/common/rtmp_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rt2860/common/rtmp_mcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rt2860/rt_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 968e8c2

Please sign in to comment.