diff options
author | Martin Peschke <mp3@de.ibm.com> | 2008-03-31 05:15:25 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:19:09 -0400 |
commit | c7b7fc8c30df49a4ca5743d5f062666adcc1dc15 (patch) | |
tree | 368b3f08ceb44237f206f9be3b07d1885045e19f /drivers/s390/scsi | |
parent | b634fff743be5e6010c5cbe36ea1e68ff56a6aee (diff) |
[SCSI] zfcp: Remove obsolete output function from debug trace.
Remove obsolete output function.
Signed-off-by: Martin Peschke <mp3@de.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi')
-rw-r--r-- | drivers/s390/scsi/zfcp_dbf.c | 15 |
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 | ||
77 | static int | ||
78 | zfcp_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 | |||
92 | static void zfcp_dbf_outs(char **buf, const char *s1, const char *s2) | 77 | static 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); |