]> git.ipfire.org Git - thirdparty/grub.git/commit
disk/ahci: Remove conditional operator for endtime
authorLeo Sandoval <lsandova@redhat.com>
Wed, 22 Jan 2025 20:10:24 +0000 (14:10 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 26 Feb 2025 19:39:24 +0000 (20:39 +0100)
commitc730eddd2a820ab690875c25dd1032be3305bd0d
tree10ff4e52564679c34fd51aa18ff74aebca4f4c22
parentf0a08324d0f923527ba611887a3780c1f2cb1578
disk/ahci: Remove conditional operator for endtime

The conditional makes no sense when the two possible expressions have
the same value, so, remove it (perhaps the compiler does it for us but
better to remove it). This change makes spinup argument unused. So, drop
it as well.

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/disk/ahci.c