Optimize automation-event process splitting
[ardour.git] / libs / ardour / chan_mapping.cc
index b3cbb10ef40c680a7cd956eaa00ee447f7b5020d..1840af0d25a1aabfd96092bc093cfc3a3e2c70aa 100644 (file)
@@ -21,8 +21,8 @@
 
 #include <stdint.h>
 #include <iostream>
-#include "ardour/chan_mapping.h"
 #include "ardour/types_convert.h"
+#include "ardour/chan_mapping.h"
 
 #include "pbd/i18n.h"
 
@@ -34,10 +34,6 @@ namespace ARDOUR {
 
 ChanMapping::ChanMapping(ChanCount identity)
 {
-       if (identity == ChanCount::INFINITE) {
-               return;
-       }
-
        for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
                for (size_t i = 0; i < identity.get(*t); ++i) {
                        set(*t, i, i);