summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/io.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index e6dff6158a..27555c119e 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -738,7 +738,7 @@ IO::add_input_port (string source, void* src, DataType type)
{
Glib::Mutex::Lock lm (io_lock);
- if (_input_maximum.get(type) >= 0 && n_inputs().get (type) >= _input_maximum.get (type)) {
+ if (n_inputs().get (type) >= _input_maximum.get (type)) {
return -1;
}