summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atp870u.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2014-12-03 00:10:53 +0100
committerJames Bottomley <JBottomley@Parallels.com>2015-02-02 09:57:45 -0800
commit3d30079c3a9000504cf71e4e8dd94619070dc4f3 (patch)
tree63d0d379c8505308ee6e9f36ddcb614d196f9212 /drivers/scsi/atp870u.c
parent91c40f24faadd977ee9209fee6a760e72a50d19c (diff)
downloadblackbird-op-linux-3d30079c3a9000504cf71e4e8dd94619070dc4f3.tar.gz
blackbird-op-linux-3d30079c3a9000504cf71e4e8dd94619070dc4f3.zip
scsi: merge consecutive seq_puts calls
Consecutive seq_puts calls with literal strings may be replaced by a single call, saving a little .text. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/atp870u.c')
-rw-r--r--drivers/scsi/atp870u.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c
index 0b0246716646..0836433e3a2d 100644
--- a/drivers/scsi/atp870u.c
+++ b/drivers/scsi/atp870u.c
@@ -3101,9 +3101,8 @@ static const char *atp870u_info(struct Scsi_Host *notused)
static int atp870u_show_info(struct seq_file *m, struct Scsi_Host *HBAptr)
{
- seq_puts(m, "ACARD AEC-671X Driver Version: 2.6+ac\n");
- seq_puts(m, "\n");
- seq_puts(m, "Adapter Configuration:\n");
+ seq_puts(m, "ACARD AEC-671X Driver Version: 2.6+ac\n\n"
+ "Adapter Configuration:\n");
seq_printf(m, " Base IO: %#.4lx\n", HBAptr->io_port);
seq_printf(m, " IRQ: %d\n", HBAptr->irq);
return 0;
OpenPOWER on IntegriCloud