aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/trace_seq.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-23 16:42:07 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-07-01 07:13:37 -0400
commit9096032fbcdcdb80b76f1046346499e20417988e (patch)
treef4f0a3653f5c76c472c2ee6b6a03381b30223610 /include/linux/trace_seq.h
parenttracing: Make trace_seq_putmem_hex() more robust (diff)
downloadlinux-dev-9096032fbcdcdb80b76f1046346499e20417988e.tar.xz
linux-dev-9096032fbcdcdb80b76f1046346499e20417988e.zip
tracing: Remove trace_seq_reserve()
trace_seq_reserve() has no users in the kernel, it just wastes space. Remove it. Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/trace_seq.h')
-rw-r--r--include/linux/trace_seq.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/trace_seq.h b/include/linux/trace_seq.h
index 8283762ab7ef..dd85753e1bb0 100644
--- a/include/linux/trace_seq.h
+++ b/include/linux/trace_seq.h
@@ -43,7 +43,6 @@ extern int trace_seq_putc(struct trace_seq *s, unsigned char c);
extern int trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len);
extern int trace_seq_putmem_hex(struct trace_seq *s, const void *mem,
unsigned int len);
-extern void *trace_seq_reserve(struct trace_seq *s, unsigned int len);
extern int trace_seq_path(struct trace_seq *s, const struct path *path);
extern int trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp,
@@ -94,10 +93,6 @@ static inline int trace_seq_putmem_hex(struct trace_seq *s, const void *mem,
{
return 0;
}
-static inline void *trace_seq_reserve(struct trace_seq *s, unsigned int len)
-{
- return NULL;
-}
static inline int trace_seq_path(struct trace_seq *s, const struct path *path)
{
return 0;