Remove deprecated members of lib/src/lint/DriverOptions.

Change-Id: I6091e47e4cd38bb7baa3a36dea2a46c6ca79aed5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/383681
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
diff --git a/pkg/analyzer/lib/src/lint/analysis.dart b/pkg/analyzer/lib/src/lint/analysis.dart
index 4eb8f09..023e53d 100644
--- a/pkg/analyzer/lib/src/lint/analysis.dart
+++ b/pkg/analyzer/lib/src/lint/analysis.dart
@@ -14,7 +14,6 @@
 import 'package:analyzer/src/analysis_options/apply_options.dart';
 import 'package:analyzer/src/dart/analysis/analysis_context_collection.dart';
 import 'package:analyzer/src/generated/engine.dart';
-import 'package:analyzer/src/generated/sdk.dart';
 import 'package:analyzer/src/lint/io.dart';
 import 'package:analyzer/src/lint/linter.dart';
 
@@ -66,22 +65,6 @@
 
   /// Whether to use Dart's Strong Mode analyzer.
   bool strongMode = true;
-
-  /// The mock SDK (to speed up testing) or `null` to use the actual SDK.
-  @Deprecated('Use createMockSdk() and set dartSdkPath')
-  DartSdk? mockSdk;
-
-  /// Return `true` is the parser is able to parse asserts in the initializer
-  /// list of a constructor.
-  @deprecated
-  bool get enableAssertInitializer => true;
-
-  /// Set whether the parser is able to parse asserts in the initializer list of
-  /// a constructor to match [enable].
-  @deprecated
-  set enableAssertInitializer(bool enable) {
-    // Ignored because the option is now always enabled.
-  }
 }
 
 /// A driver _only used_ by [DartLinter], which is only used by package:linter