summaryrefslogtreecommitdiffstats
path: root/include/linux/pipe_fs_i.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-04-11 13:53:10 +0200
committerJens Axboe <axboe@suse.de>2006-04-11 13:53:10 +0200
commit9aeedfc4712ed58d9f7ae41596185c72b8dc97e8 (patch)
treeb055bab09a86cfc6cb13506d2f25da6abd12e3c1 /include/linux/pipe_fs_i.h
parent7480a90435673b4c717b6caf1350ec577d5f1adf (diff)
downloadkernel-crypto-9aeedfc4712ed58d9f7ae41596185c72b8dc97e8.tar.gz
kernel-crypto-9aeedfc4712ed58d9f7ae41596185c72b8dc97e8.tar.xz
kernel-crypto-9aeedfc4712ed58d9f7ae41596185c72b8dc97e8.zip
[PATCH] get rid of the PIPE_*() macros
get rid of the PIPE_*() macros. Scripted transformation. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/linux/pipe_fs_i.h')
-rw-r--r--include/linux/pipe_fs_i.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h
index 660e9d866e5..123a7c24bc7 100644
--- a/include/linux/pipe_fs_i.h
+++ b/include/linux/pipe_fs_i.h
@@ -43,16 +43,6 @@ struct pipe_inode_info {
memory allocation, whereas PIPE_BUF makes atomicity guarantees. */
#define PIPE_SIZE PAGE_SIZE
-#define PIPE_MUTEX(inode) (&(inode).i_mutex)
-#define PIPE_WAIT(inode) (&(inode).i_pipe->wait)
-#define PIPE_READERS(inode) ((inode).i_pipe->readers)
-#define PIPE_WRITERS(inode) ((inode).i_pipe->writers)
-#define PIPE_WAITING_WRITERS(inode) ((inode).i_pipe->waiting_writers)
-#define PIPE_RCOUNTER(inode) ((inode).i_pipe->r_counter)
-#define PIPE_WCOUNTER(inode) ((inode).i_pipe->w_counter)
-#define PIPE_FASYNC_READERS(inode) (&((inode).i_pipe->fasync_readers))
-#define PIPE_FASYNC_WRITERS(inode) (&((inode).i_pipe->fasync_writers))
-
/* Drop the inode semaphore and wait for a pipe event, atomically */
void pipe_wait(struct pipe_inode_info *pipe);