aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/diagnostic/diagnostic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/diagnostic/diagnostic.c b/src/diagnostic/diagnostic.c
index c0ee294..4d67573 100644
--- a/src/diagnostic/diagnostic.c
+++ b/src/diagnostic/diagnostic.c
@@ -48,10 +48,6 @@ int rin_diag_flags(int flag, int action)
int rin_diag_set_outstream(enum rin_diag_outstream channel, FILE *stream)
{
- if (!stream) {
- return EINVAL;
- }
-
switch (channel) {
case rin_diag_err:
state.err = stream;