aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/scsi')
-rw-r--r--drivers/s390/scsi/zfcp_dbf.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/s390/scsi/zfcp_dbf.c b/drivers/s390/scsi/zfcp_dbf.c
index 15b534206b34..427115b17ed4 100644
--- a/drivers/s390/scsi/zfcp_dbf.c
+++ b/drivers/s390/scsi/zfcp_dbf.c
@@ -74,21 +74,6 @@ static int zfcp_dbf_tag(char *out_buf, const char *label, const char *tag)
74 return len; 74 return len;
75} 75}
76 76
77static int
78zfcp_dbf_view(char *out_buf, const char *label, const char *format, ...)
79{
80 va_list arg;
81 int len = 0;
82
83 len += sprintf(out_buf + len, "%-24s", label);
84 va_start(arg, format);
85 len += vsprintf(out_buf + len, format, arg);
86 va_end(arg);
87 len += sprintf(out_buf + len, "\n");
88
89 return len;
90}
91
92static void zfcp_dbf_outs(char **buf, const char *s1, const char *s2) 77static void zfcp_dbf_outs(char **buf, const char *s1, const char *s2)
93{ 78{
94 *buf += sprintf(*buf, "%-24s%s\n", s1, s2); 79 *buf += sprintf(*buf, "%-24s%s\n", s1, s2);