Refactor: Inline method

Change-Id: I2bfeadebd63a9e60dc9bf0f97a9390e456abc3b8
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java
index 45711a4..29ba5fb 100644
--- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java
+++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java
@@ -31,7 +31,6 @@
 import org.onosproject.net.AnnotationKeys;
 import org.onosproject.net.CltSignalType;
 import org.onosproject.net.ConnectPoint;
-import org.onosproject.net.DeviceId;
 import org.onosproject.net.OchPort;
 import org.onosproject.net.OduCltPort;
 import org.onosproject.net.OduSignalId;
@@ -553,13 +552,11 @@
         return (int) tributarySlots.stream().findFirst().get().index();
     }
 
-    private boolean isTributarySlotBehaviourSupported(DeviceId deviceId) {
-        Driver driver = driverService.getDriver(deviceId);
-        return (driver != null && driver.hasBehaviour(TributarySlotQuery.class));
-    }
-
     private boolean isMultiplexingSupported(ConnectPoint cp) {
-        return isTributarySlotBehaviourSupported(cp.deviceId()) && staticPort(cp) == null;
+        Driver driver = driverService.getDriver(cp.deviceId());
+        return driver != null
+                && driver.hasBehaviour(TributarySlotQuery.class)
+                && staticPort(cp) == null;
     }
 
     /**