Sho SHIMIZU

Remove null check because of guarantee of non-null

Change-Id: I447532cae2f8cf801a8560e20e74df94f2f5e5ec
......@@ -138,9 +138,6 @@ public class PathIntentInstaller implements IntentInstaller<PathIntent> {
* @return allocated resources if any are required, null otherwise
*/
private LinkResourceAllocations allocateResources(PathIntent intent) {
if (intent.constraints() == null) {
return null;
}
LinkResourceRequest.Builder builder =
DefaultLinkResourceRequest.builder(intent.id(), intent.path().links());
for (Constraint constraint : intent.constraints()) {
......