s390/debug: remove raw view
[linux-2.6-microblaze.git] / arch / s390 / kernel / debug.c
index 263075a..beb4b44 100644 (file)
@@ -90,27 +90,11 @@ static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view,
                                size_t user_buf_size, loff_t *offset);
 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view,
                                     char *out_buf, const char *in_buf);
-static int debug_raw_format_fn(debug_info_t *id,
-                              struct debug_view *view, char *out_buf,
-                              const char *in_buf);
-static int debug_raw_header_fn(debug_info_t *id, struct debug_view *view,
-                              int area, debug_entry_t *entry, char *out_buf);
-
 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view,
                                   char *out_buf, debug_sprintf_entry_t *curr_event);
 
 /* globals */
 
-struct debug_view debug_raw_view = {
-       "raw",
-       NULL,
-       &debug_raw_header_fn,
-       &debug_raw_format_fn,
-       NULL,
-       NULL
-};
-EXPORT_SYMBOL(debug_raw_view);
-
 struct debug_view debug_hex_ascii_view = {
        "hex_ascii",
        NULL,
@@ -1385,32 +1369,6 @@ out:
        return rc;              /* number of input characters */
 }
 
-/*
- * prints debug header in raw format
- */
-static int debug_raw_header_fn(debug_info_t *id, struct debug_view *view,
-                              int area, debug_entry_t *entry, char *out_buf)
-{
-       int rc;
-
-       rc = sizeof(debug_entry_t);
-       memcpy(out_buf, entry, sizeof(debug_entry_t));
-       return rc;
-}
-
-/*
- * prints debug data in raw format
- */
-static int debug_raw_format_fn(debug_info_t *id, struct debug_view *view,
-                              char *out_buf, const char *in_buf)
-{
-       int rc;
-
-       rc = id->buf_size;
-       memcpy(out_buf, in_buf, id->buf_size);
-       return rc;
-}
-
 /*
  * prints debug data in hex/ascii format
  */