From 0cac9afc4b693c021c4ab6bb2802798472fa6d71 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Tue, 26 Jun 2018 12:02:03 +0800 Subject: [PATCH] [Kernel] clean code for indentation. --- components/drivers/src/pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/drivers/src/pipe.c b/components/drivers/src/pipe.c index 973898e2c..a971401ce 100644 --- a/components/drivers/src/pipe.c +++ b/components/drivers/src/pipe.c @@ -438,8 +438,8 @@ rt_pipe_t *rt_pipe_create(const char *name, int bufsz) rt_memset(pipe, 0, sizeof(rt_pipe_t)); rt_mutex_init(&(pipe->lock), name, RT_IPC_FLAG_FIFO); - rt_wqueue_init(&(pipe->reader_queue)); - rt_wqueue_init(&(pipe->writer_queue)); + rt_wqueue_init(&(pipe->reader_queue)); + rt_wqueue_init(&(pipe->writer_queue)); RT_ASSERT(bufsz < 0xFFFF); pipe->bufsz = bufsz;