diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-02 21:09:54 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-01 23:19:19 -0400 |
commit | fbb32750a62df75d1ffea547f3908b21c5496d9f (patch) | |
tree | 3e02ab4b6c6a77973ca10bcd6a54c57d17fc9f89 /kernel | |
parent | 58bda1da4b3c3ec6da8d0badaba12ce02839a241 (diff) |
pipe: kill ->map() and ->unmap()
all pipe_buffer_operations have the same instances of those...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/relay.c | 2 | ||||
-rw-r--r-- | kernel/trace/trace.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/kernel/relay.c b/kernel/relay.c index 5001c9887db1..98833f664fb6 100644 --- a/kernel/relay.c +++ b/kernel/relay.c | |||
@@ -1195,8 +1195,6 @@ static void relay_pipe_buf_release(struct pipe_inode_info *pipe, | |||
1195 | 1195 | ||
1196 | static const struct pipe_buf_operations relay_pipe_buf_ops = { | 1196 | static const struct pipe_buf_operations relay_pipe_buf_ops = { |
1197 | .can_merge = 0, | 1197 | .can_merge = 0, |
1198 | .map = generic_pipe_buf_map, | ||
1199 | .unmap = generic_pipe_buf_unmap, | ||
1200 | .confirm = generic_pipe_buf_confirm, | 1198 | .confirm = generic_pipe_buf_confirm, |
1201 | .release = relay_pipe_buf_release, | 1199 | .release = relay_pipe_buf_release, |
1202 | .steal = generic_pipe_buf_steal, | 1200 | .steal = generic_pipe_buf_steal, |
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 24c1f2382557..7511de35257f 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -4316,8 +4316,6 @@ static void tracing_spd_release_pipe(struct splice_pipe_desc *spd, | |||
4316 | 4316 | ||
4317 | static const struct pipe_buf_operations tracing_pipe_buf_ops = { | 4317 | static const struct pipe_buf_operations tracing_pipe_buf_ops = { |
4318 | .can_merge = 0, | 4318 | .can_merge = 0, |
4319 | .map = generic_pipe_buf_map, | ||
4320 | .unmap = generic_pipe_buf_unmap, | ||
4321 | .confirm = generic_pipe_buf_confirm, | 4319 | .confirm = generic_pipe_buf_confirm, |
4322 | .release = generic_pipe_buf_release, | 4320 | .release = generic_pipe_buf_release, |
4323 | .steal = generic_pipe_buf_steal, | 4321 | .steal = generic_pipe_buf_steal, |
@@ -5194,8 +5192,6 @@ static void buffer_pipe_buf_get(struct pipe_inode_info *pipe, | |||
5194 | /* Pipe buffer operations for a buffer. */ | 5192 | /* Pipe buffer operations for a buffer. */ |
5195 | static const struct pipe_buf_operations buffer_pipe_buf_ops = { | 5193 | static const struct pipe_buf_operations buffer_pipe_buf_ops = { |
5196 | .can_merge = 0, | 5194 | .can_merge = 0, |
5197 | .map = generic_pipe_buf_map, | ||
5198 | .unmap = generic_pipe_buf_unmap, | ||
5199 | .confirm = generic_pipe_buf_confirm, | 5195 | .confirm = generic_pipe_buf_confirm, |
5200 | .release = buffer_pipe_buf_release, | 5196 | .release = buffer_pipe_buf_release, |
5201 | .steal = generic_pipe_buf_steal, | 5197 | .steal = generic_pipe_buf_steal, |