diff options
Diffstat (limited to 'src/mainboard/gigabyte/ma785gmt')
-rw-r--r-- | src/mainboard/gigabyte/ma785gmt/mainboard.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mainboard/gigabyte/ma785gmt/mainboard.c b/src/mainboard/gigabyte/ma785gmt/mainboard.c index a0e963190d..5949741b45 100644 --- a/src/mainboard/gigabyte/ma785gmt/mainboard.c +++ b/src/mainboard/gigabyte/ma785gmt/mainboard.c @@ -102,13 +102,7 @@ int is_dev3_present(void) /* read the GPIO68 input status */ word = pci_read_config16(sm_dev, 0x7e); - if(word & (1 << 10)){ - /*not exist*/ - return 0; - }else{ - /*exist*/ - return 1; - } + return !(word & (1 << 10)); } /* |