]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: super-intel remove dead code
authorNigel Croxon <ncroxon@redhat.com>
Wed, 22 May 2024 20:05:25 +0000 (16:05 -0400)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Thu, 23 May 2024 10:35:21 +0000 (12:35 +0200)
commit49145d4f574b21a6c0612ce691f255732cb91832
tree2b1f153e4ef1e9d3779e1de50858c53b0445cf50
parentc7790592bb7d050a990a9accb50de8f584879169
mdadm: super-intel remove dead code

Execution cannot reach this statement: "while (devlist) { dv = de...".
Local variable "err" is assigned only once, to a constant value,
making it effectively constant throughout its scope.
Remove dead code.

Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
super-intel.c