Simplify some expressions using the ? operator

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2010-01-01 22:47:25 +00:00
parent e35a15cf54
commit 5c4ef78cc9
8 changed files with 10 additions and 12 deletions

View file

@ -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 */