Dead code removal

This commit is contained in:
Pavel Kirienko
2015-05-26 20:13:13 +03:00
parent e60a76d562
commit a97762ae21
3 changed files with 0 additions and 17 deletions
@@ -35,11 +35,6 @@ public:
*/
virtual void handleAllocationRequest(const UniqueID& unique_id, NodeID preferred_node_id) = 0;
/**
* This method will be invoked when there's an Allocation message detected on the bus.
*/
virtual void handleAllocationActivityDetection(const ReceivedDataStructure<Allocation>& msg) = 0;
virtual ~IAllocationRequestHandler() { }
};
@@ -132,7 +127,6 @@ class AllocationRequestManager
void handleAllocation(const ReceivedDataStructure<Allocation>& msg)
{
trace(TraceAllocationActivity, msg.getSrcNodeID().get());
handler_.handleAllocationActivityDetection(msg);
if (!msg.isAnonymousTransfer())
{
@@ -135,11 +135,6 @@ class UAVCAN_EXPORT Server : IAllocationRequestHandler
}
}
virtual void handleAllocationActivityDetection(const ReceivedDataStructure<Allocation>&)
{
// TODO: remove this method
}
/*
* Methods of INodeDiscoveryHandler
*/