浏览代码

Remove unused variable

Bill Thornton 1 年之前
父节点
当前提交
aea57c1a4a
共有 1 个文件被更改,包括 0 次插入6 次删除
  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
                 }).ConfigureAwait(false)).Items.FirstOrDefault();
 
-            var allExistingForDevice = (await _deviceManager.GetDevices(
-                new DeviceQuery
-                {
-                    DeviceId = deviceId
-                }).ConfigureAwait(false)).Items;
-
             if (existing is not null)
             {
                 _logger.LogInformation("Reusing existing access token: {Token}", existing.AccessToken);