diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 6ad949ca96..efc714fae0 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -2191,7 +2191,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
#endregion // NotFoundLocationCache class
private NotFoundLocationCache m_notFoundLocationCache = new NotFoundLocationCache();
-// needed for current OSG or old grid code
+// needed for old grid code
protected GridRegion GetRegionContainingWorldLocation(IGridService pGridService, UUID pScopeID, double px, double py)
{
@@ -2361,22 +2361,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
}
- ///
- /// Gets the range considered in view of this megaregion (assuming this is a megaregion).
- ///
- /// Expressed in 256m units
- ///
- ///
- private void GetMegaregionViewRange(out Vector2 swCorner, out Vector2 neCorner)
- {
- Vector2 extent = Vector2.Zero;
-
- swCorner.X = Scene.RegionInfo.RegionLocX - 1;
- swCorner.Y = Scene.RegionInfo.RegionLocY - 1;
- neCorner.X = Scene.RegionInfo.RegionLocX + extent.X;
- neCorner.Y = Scene.RegionInfo.RegionLocY + extent.Y;
- }
-
///
/// Return the list of online regions that are considered to be neighbours to the given scene.
///