message: p2p: remove unused legacyWhitelisted variable
diff: @@ -1040,14 +1040,12 @@ void CConnman::AcceptConnection(const ListenSocket& hListenSocket) {
  NetPermissionFlags permissionFlags = NetPermissionFlags::PF_NONE;
  hListenSocket.AddSocketPermissionFlags(permissionFlags);
  AddWhitelistPermissionFlags(permissionFlags, addr);
  - bool legacyWhitelisted = false;
  if (NetPermissions::HasFlag(permissionFlags, NetPermissionFlags::PF_ISIMPLICIT)) {
  NetPermissions::ClearFlag(permissionFlags, PF_ISIMPLICIT);
  if (gArgs.GetBoolArg("-whitelistforcerelay", DEFAULT_WHITELISTFORCERELAY)) NetPermissions::AddFlag(permissionFlags, PF_FORCERELAY);
  if (gArgs.GetBoolArg("-whitelistrelay", DEFAULT_WHITELISTRELAY)) NetPermissions::AddFlag(permissionFlags, PF_RELAY);
  NetPermissions::AddFlag(permissionFlags, PF_MEMPOOL);
  NetPermissions::AddFlag(permissionFlags, PF_NOBAN);
  - legacyWhitelisted = true;
  }
  {
  