Skip to content

Commit 1bfbc60

Browse files
Daniel WalkerLinus Torvalds
authored andcommitted
whitespace fixes: relayfs
Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Tom Zanussi <zanussi@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent dedf8b7 commit 1bfbc60

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎kernel/relay.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ void relay_reset(struct rchan *chan)
370370
if (!chan)
371371
return;
372372

373-
if (chan->is_global && chan->buf[0]) {
373+
if (chan->is_global && chan->buf[0]) {
374374
__relay_reset(chan->buf[0], 0);
375375
return;
376376
}
@@ -850,13 +850,13 @@ static int relay_file_read_avail(struct rchan_buf *buf, size_t read_pos)
850850
buf->subbufs_consumed = consumed;
851851
buf->bytes_consumed = 0;
852852
}
853-
853+
854854
produced = (produced % n_subbufs) * subbuf_size + buf->offset;
855855
consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed;
856856

857857
if (consumed > produced)
858858
produced += n_subbufs * subbuf_size;
859-
859+
860860
if (consumed == produced)
861861
return 0;
862862

0 commit comments

Comments
 (0)