]> Pileus Git - ~andy/linux/commitdiff
ftrace: Remove ftrace_regex_lseek()
authorLi Zefan <lizefan@huawei.com>
Fri, 7 Jun 2013 09:02:53 +0000 (17:02 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 11 Jun 2013 22:38:51 +0000 (18:38 -0400)
This is a leftover after ftrace_regex_lseek() was renamed to
ftrace_filter_lseek() and then ftrace_filter_lseek() was moved
out side of CONFIG_DYNAMIC_FTRACE.

Link: http://lkml.kernel.org/r/51B1A1BD.40905@huawei.com
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h

index 99d0fbcbaf79eff04c8ab56531e02aa46e953977..e48ed1d7876d9610d8eabbed1556b893678fd143 100644 (file)
@@ -566,10 +566,6 @@ static inline ssize_t ftrace_filter_write(struct file *file, const char __user *
                            size_t cnt, loff_t *ppos) { return -ENODEV; }
 static inline ssize_t ftrace_notrace_write(struct file *file, const char __user *ubuf,
                             size_t cnt, loff_t *ppos) { return -ENODEV; }
-static inline loff_t ftrace_regex_lseek(struct file *file, loff_t offset, int whence)
-{
-       return -ENODEV;
-}
 static inline int
 ftrace_regex_release(struct inode *inode, struct file *file) { return -ENODEV; }
 #endif /* CONFIG_DYNAMIC_FTRACE */