]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/dma-buf/sync_debug.c
net: phy: bcm7xxx: define soft_reset for 40nm EPHY
[linux.git] / drivers / dma-buf / sync_debug.c
index 3bb462cfb06c0147d767ebc9cce61268651b3d1e..101394f16930f81f1ac98da172a50517e7534cff 100644 (file)
@@ -188,29 +188,3 @@ static __init int sync_debugfs_init(void)
        return 0;
 }
 late_initcall(sync_debugfs_init);
-
-#define DUMP_CHUNK 256
-static char sync_dump_buf[64 * 1024];
-void sync_dump(void)
-{
-       struct seq_file s = {
-               .buf = sync_dump_buf,
-               .size = sizeof(sync_dump_buf) - 1,
-       };
-       int i;
-
-       sync_info_debugfs_show(&s, NULL);
-
-       for (i = 0; i < s.count; i += DUMP_CHUNK) {
-               if ((s.count - i) > DUMP_CHUNK) {
-                       char c = s.buf[i + DUMP_CHUNK];
-
-                       s.buf[i + DUMP_CHUNK] = 0;
-                       pr_cont("%s", s.buf + i);
-                       s.buf[i + DUMP_CHUNK] = c;
-               } else {
-                       s.buf[s.count] = 0;
-                       pr_cont("%s", s.buf + i);
-               }
-       }
-}