diff options
Diffstat (limited to 'kernel/trace/trace_events.c')
-rw-r--r-- | kernel/trace/trace_events.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 250ec865d5f5..c2a3077b7353 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -520,14 +520,6 @@ out: | |||
520 | return ret; | 520 | return ret; |
521 | } | 521 | } |
522 | 522 | ||
523 | extern char *__bad_type_size(void); | ||
524 | |||
525 | #undef FIELD | ||
526 | #define FIELD(type, name) \ | ||
527 | sizeof(type) != sizeof(field.name) ? __bad_type_size() : \ | ||
528 | #type, "common_" #name, offsetof(typeof(field), name), \ | ||
529 | sizeof(field.name), is_signed_type(type) | ||
530 | |||
531 | static ssize_t | 523 | static ssize_t |
532 | event_format_read(struct file *filp, char __user *ubuf, size_t cnt, | 524 | event_format_read(struct file *filp, char __user *ubuf, size_t cnt, |
533 | loff_t *ppos) | 525 | loff_t *ppos) |
@@ -965,10 +957,6 @@ event_create_dir(struct ftrace_event_call *call, struct dentry *d_events, | |||
965 | filter); | 957 | filter); |
966 | } | 958 | } |
967 | 959 | ||
968 | /* A trace may not want to export its format */ | ||
969 | if (!call->show_format) | ||
970 | return 0; | ||
971 | |||
972 | trace_create_file("format", 0444, call->dir, call, | 960 | trace_create_file("format", 0444, call->dir, call, |
973 | format); | 961 | format); |
974 | 962 | ||