Sho SHIMIZU
Committed by Gerrit Code Review

Remove unnecessary return in void method

Change-Id: I4863119ae13587f4d7fc60e55094c9d8d701c4e7
......@@ -410,8 +410,6 @@ public class NetconfDeviceProvider extends AbstractProvider
if (isReachable(deviceId)) {
controller.connectDevice(deviceId);
providerService.receivedRoleReply(deviceId, newRole, MastershipRole.MASTER);
} else {
return;
}
} catch (Exception e) {
if (deviceService.getDevice(deviceId) != null) {
......
......@@ -94,7 +94,6 @@ public class OvsdbDeviceProvider extends AbstractProvider
if (!isReachable(deviceId)) {
log.error("Failed to probe device {}", deviceId);
providerService.deviceDisconnected(deviceId);
return;
} else {
log.trace("Confirmed device {} connection", deviceId);
}
......
......@@ -113,14 +113,11 @@ public class PcepPacketProvider extends AbstractProvider implements PacketProvid
@Override
public void send() {
// We don't send anything out.
return;
}
}
@Override
public void emit(OutboundPacket packet) {
// Nothing to emit
return;
}
}
......