Re: [PATCH] disk/ahci.c: remove conditional operator for endtime

2025-02-20 Thread Daniel Kiper
On Wed, Jan 22, 2025 at 02:10:24PM -0600, Leo Sandoval wrote: > 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). > > Signed-off-by: Leo Sandoval Reviewed-by: Daniel Kiper Daniel

[PATCH] disk/ahci.c: remove conditional operator for endtime

2025-01-22 Thread Leo Sandoval
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). Signed-off-by: Leo Sandoval --- grub-core/disk/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/di