Explorar o código

Remove unused variable

Bill Thornton hai 1 ano
pai
achega
aea57c1a4a
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      Emby.Server.Implementations/Session/SessionManager.cs

+ 0 - 6
Emby.Server.Implementations/Session/SessionManager.cs

@@ -1513,12 +1513,6 @@ namespace Emby.Server.Implementations.Session
                     Limit = 1
                     Limit = 1
                 }).ConfigureAwait(false)).Items.FirstOrDefault();
                 }).ConfigureAwait(false)).Items.FirstOrDefault();
 
 
-            var allExistingForDevice = (await _deviceManager.GetDevices(
-                new DeviceQuery
-                {
-                    DeviceId = deviceId
-                }).ConfigureAwait(false)).Items;
-
             if (existing is not null)
             if (existing is not null)
             {
             {
                 _logger.LogInformation("Reusing existing access token: {Token}", existing.AccessToken);
                 _logger.LogInformation("Reusing existing access token: {Token}", existing.AccessToken);