]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: remove dead condition in Grow_reshape()
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Tue, 20 Feb 2024 10:56:10 +0000 (11:56 +0100)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Fri, 23 Feb 2024 11:43:53 +0000 (12:43 +0100)
commite44d13f466e30c018887cd5aaf1212ed9f510813
tree614f920a24e80e8c4c9ae804767113e1c5f68081
parentb7d7837128e90c8b496ebc3d88eda1a8ff477392
Grow: remove dead condition in Grow_reshape()

Remove dead "if" condition from Grow_reshape(). Sysfs read check is
performed earlier in the code.

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Grow.c