Refactor: Remove unused parameter

Change-Id: Ieef2177484fbe94e17d4a3105237ed2c6f36e116
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 99f58df..2517386 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
@@ -209,11 +209,10 @@
      * Checks if current allocations on given resource can satisfy request.
      * If the resource is null, return true.
      *
-     * @param request the intent making the request
      * @param resource the resource on which to map the intent
      * @return true if the resource can accept the request, false otherwise
      */
-    private boolean isAvailable(Intent request, IntentId resource) {
+    private boolean isAvailable(IntentId resource) {
         if (resource == null) {
             return true;
         }
@@ -271,7 +270,7 @@
                 continue;
             }
 
-            if (isAvailable(circuitIntent, connIntent.id())) {
+            if (isAvailable(connIntent.id())) {
                 return connIntent;
             }
         }
@@ -303,7 +302,7 @@
         if (ochCP != null) {
             OchPort ochPort = (OchPort) deviceService.getPort(ochCP.deviceId(), ochCP.port());
             IntentId intentId = deviceResourceService.getAllocations(ochPort);
-            if (isAvailable(circuitIntent, intentId)) {
+            if (isAvailable(intentId)) {
                 return ochPort;
             }
         }
@@ -317,7 +316,7 @@
             }
 
             IntentId intentId = deviceResourceService.getAllocations(port);
-            if (isAvailable(circuitIntent, intentId)) {
+            if (isAvailable(intentId)) {
                 return (OchPort) port;
             }
         }