diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 16:05:04 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 16:05:04 +0100 |
commit | e82a9d10e72feb2e5c8c47028556d37ef87ab2eb (patch) | |
tree | 0708b9f7268719bf337895e3c176b4d93926fae0 /trans/streamio.c | |
parent | 0d332556dbb1c95a002d99d8eeb0fbdfdcd8f59c (diff) | |
download | hurd-e82a9d10e72feb2e5c8c47028556d37ef87ab2eb.tar.gz hurd-e82a9d10e72feb2e5c8c47028556d37ef87ab2eb.tar.bz2 hurd-e82a9d10e72feb2e5c8c47028556d37ef87ab2eb.zip |
Fix warning
* trans/streamio.c (io_select_common): Do not needlessly check that
buffer_writable is not NULL, it is a static inline.
Diffstat (limited to 'trans/streamio.c')
-rw-r--r-- | trans/streamio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/streamio.c b/trans/streamio.c index f276ad6b..84588248 100644 --- a/trans/streamio.c +++ b/trans/streamio.c @@ -574,7 +574,7 @@ io_select_common (struct trivfs_protid *cred, available |= SELECT_READ; if ((*type & SELECT_WRITE) && (!(cred->po->openmodes & O_WRITE) || - (buffer_writable && buffer_writable (output_buffer)))) + (buffer_writable (output_buffer)))) available |= SELECT_WRITE; if (available) |