Skip to content

Commit e956c1c

Browse files
committed
misc: Remove unused using statements
1 parent 3557fcb commit e956c1c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Yubico.YubiKey/src/Yubico/YubiKey/Oath/OathSession.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
using System;
1616
using System.Globalization;
17-
using Microsoft.Extensions.Logging;
1817
using Yubico.Core.Logging;
19-
using Yubico.YubiKey.InterIndustry.Commands;
2018
using Yubico.YubiKey.Oath.Commands;
2119
using Yubico.YubiKey.Scp;
2220

@@ -83,7 +81,7 @@ public OathSession(IYubiKeyDevice yubiKey, ScpKeyParameters? keyParameters = nul
8381
: base(Log.GetLogger<OathSession>(), yubiKey, YubiKeyApplication.Oath, keyParameters)
8482
{
8583

86-
if (!(Connection.SelectApplicationData is OathApplicationData data))
84+
if (Connection.SelectApplicationData is not OathApplicationData data)
8785
{
8886
throw new InvalidOperationException(nameof(Connection.SelectApplicationData));
8987
}

0 commit comments

Comments
 (0)