missed one.

This commit is contained in:
BaronGreenback 2021-04-20 18:08:19 +01:00
parent a99caa0daa
commit 7848ea1484
1 changed files with 8 additions and 17 deletions

View File

@ -106,8 +106,6 @@ namespace Emby.Dlna
throw new ArgumentNullException(nameof(deviceInfo));
}
try
{
var profile = GetProfiles()
.FirstOrDefault(i => i.Identification != null && IsMatch(deviceInfo, i.Identification));
@ -122,13 +120,6 @@ namespace Emby.Dlna
return profile;
}
catch (ArgumentException ex)
{
_logger.LogError(ex, "Error in profile comparison.");
}
return null;
}
private void LogUnmatchedProfile(DeviceIdentification profile)
{