From 0f01689fde45a7f8bf95dd210cd760fa4ff4a70b Mon Sep 17 00:00:00 2001 From: Patrick Rohr Date: Thu, 28 Mar 2024 08:33:01 -0700 Subject: [PATCH] Remove unnecessary null check wifiIfaceName is guaranteed to not be null when this null check is executed, as otherwise eventuallyExpect() has failed or threw an assertion error a couple of lines above. Test: TH Change-Id: Ibc566fae7cf153dcc2976e4d6d3b208e8fa3448c --- tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt b/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt index ad7163da9e..f5ab7fb786 100644 --- a/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt +++ b/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt @@ -68,7 +68,6 @@ class ApfIntegrationTest { wifiIfaceName = assertNotNull(it.lp.interfaceName) true } - assertNotNull(wifiIfaceName) } @After