Skip to contentSkip to conversation

remove extra newline from info message

PATCH New [email protected] 1 participant 1 message Dec 19, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/26 remove extra newline from info message

From: Rolf Eike Beer <[email protected]>

remove extra newline from info message

This extra newline character introduces a completely empty line in dmesg as the calling function itself adds a newline.

---

 drivers/scsi/aic7xxx/aic79xx_osm.c |    1 -
 1 files changed, 1 deletion(-)
drivers/scsi/aic7xxx/aic79xx_osm.c renamed from drivers/scsi/aic7xxx/aic79xx_osm.c~remove-extra-newline-from-info-message +0 -1
diff -puN drivers/scsi/aic7xxx/aic79xx_osm.c~remove-extra-newline-from-info-message drivers/scsi/aic7xxx/aic79xx_osm.c
@@ -418,7 +418,6 @@ ahd_linux_info(struct Scsi_Host *host)
 	strcat(bp, "        ");
 	ahd_controller_info(ahd, ahd_info);
 	strcat(bp, ahd_info);
-	strcat(bp, "\n");
 
 	return (bp);
 }

_