aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpDeviceLocator.cs
diff options
context:
space:
mode:
authorStepan Goremykin <goremukin@gmail.com>2023-04-06 19:38:34 +0200
committerStepan Goremykin <goremukin@gmail.com>2023-04-06 19:38:34 +0200
commit910617bbc3b960ff6a1e1c18c27a0b42a4be9ee0 (patch)
tree9ed2d33f6439b02295697c93151bc2d14de0ec81 /RSSDP/SsdpDeviceLocator.cs
parentb6cfdb8b92650aa4f5c33b9523700ffeaa7694d0 (diff)
Remove redundant 'else' keywords
Diffstat (limited to 'RSSDP/SsdpDeviceLocator.cs')
-rw-r--r--RSSDP/SsdpDeviceLocator.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/RSSDP/SsdpDeviceLocator.cs b/RSSDP/SsdpDeviceLocator.cs
index de48bd879..7afd32581 100644
--- a/RSSDP/SsdpDeviceLocator.cs
+++ b/RSSDP/SsdpDeviceLocator.cs
@@ -585,10 +585,8 @@ namespace Rssdp.Infrastructure
{
return OneSecond;
}
- else
- {
- return searchWaitTime.Subtract(OneSecond);
- }
+
+ return searchWaitTime.Subtract(OneSecond);
}
private DiscoveredSsdpDevice FindExistingDeviceNotification(IEnumerable<DiscoveredSsdpDevice> devices, string notificationType, string usn)