From 5c4ef78cc983212a0c2e0868929aa2b699855087 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Fri, 1 Jan 2010 22:47:25 +0000 Subject: Simplify some expressions using the ? operator git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/ata_sd_as3525.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/as3525') diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index 8d0dc042b9..99bf668ec4 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c @@ -359,7 +359,7 @@ static int sd_init_card(const int drive) sd_parse_csd(&card_info[drive]); #if defined(HAVE_MULTIDRIVE) - hs_card = (card_info[drive].speed == 50000000) ? true : false; + hs_card = (card_info[drive].speed == 50000000); #endif /* Boost MCICLK to operating speed */ -- cgit v1.2.3