From 1176525f8788e95b34c1e6e3ebbe8537472d705a Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 21 Jan 2022 11:40:28 +0000 Subject: treewide: remove obsolete kernel version checks We don't support Linux kernels older than 4.4 in Nixpkgs. --- nixos/modules/services/networking/multipath.nix | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'nixos/modules/services/networking/multipath.nix') diff --git a/nixos/modules/services/networking/multipath.nix b/nixos/modules/services/networking/multipath.nix index 1cc2ad1fc84..1a44184ff6d 100644 --- a/nixos/modules/services/networking/multipath.nix +++ b/nixos/modules/services/networking/multipath.nix @@ -242,21 +242,6 @@ in { ''; }; - retain_attached_hw_handler = mkOption { - type = nullOr (enum [ "yes" "no" ]); - default = null; # real default: "yes" - description = '' - (Obsolete for kernels >= 4.3) If set to "yes" and the SCSI layer has - already attached a hardware_handler to the device, multipath will not - force the device to use the hardware_handler specified by mutipath.conf. - If the SCSI layer has not attached a hardware handler, multipath will - continue to use its configured hardware handler. - - Important Note: Linux kernel 4.3 or newer always behaves as if - "retain_attached_hw_handler yes" was set. - ''; - }; - detect_prio = mkOption { type = nullOr (enum [ "yes" "no" ]); default = null; # real default: "yes" -- cgit 1.4.1