projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b634fff
)
[SCSI] zfcp: Remove obsolete output function from debug trace.
author
Martin Peschke
<
[email protected]
>
Mon, 31 Mar 2008 09:15:25 +0000
(11:15 +0200)
committer
James Bottomley
<
[email protected]
>
Mon, 7 Apr 2008 17:19:09 +0000
(12:19 -0500)
Remove obsolete output function.
Signed-off-by: Martin Peschke <
[email protected]
>
Signed-off-by: Christof Schmitt <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
drivers/s390/scsi/zfcp_dbf.c
patch
|
blob
|
history
diff --git
a/drivers/s390/scsi/zfcp_dbf.c
b/drivers/s390/scsi/zfcp_dbf.c
index 15b534206b348af1486da3dfd751854f715b2fef..427115b17ed4c103f321547059cfcab99196c986 100644
(file)
--- 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)
return len;
}
-static int
-zfcp_dbf_view(char *out_buf, const char *label, const char *format, ...)
-{
- va_list arg;
- int len = 0;
-
- len += sprintf(out_buf + len, "%-24s", label);
- va_start(arg, format);
- len += vsprintf(out_buf + len, format, arg);
- va_end(arg);
- len += sprintf(out_buf + len, "\n");
-
- return len;
-}
-
static void zfcp_dbf_outs(char **buf, const char *s1, const char *s2)
{
*buf += sprintf(*buf, "%-24s%s\n", s1, s2);