diff options
author | dzwdz | 2021-10-08 13:18:18 +0000 |
---|---|---|
committer | dzwdz | 2021-10-08 13:18:18 +0000 |
commit | 6a90401ccb0d5a830772b8669113e1a17b6f40b7 (patch) | |
tree | 1dc2839d8a0815e484308c2ce79c8180aafae2ec /src/kernel/arch | |
parent | 0c000a03560eeab06154c1fb80b7a59a5c0f9ac7 (diff) |
remove return statements from void function
Diffstat (limited to 'src/kernel/arch')
-rw-r--r-- | src/kernel/arch/i386/ata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/ata.c b/src/kernel/arch/i386/ata.c index 916b918..60dbb15 100644 --- a/src/kernel/arch/i386/ata.c +++ b/src/kernel/arch/i386/ata.c @@ -71,10 +71,10 @@ static void ata_detecttype(int drive) { break; case 0x14: ata_drives[drive].type = DEV_PATAPI; - return true; + break; default: ata_drives[drive].type = DEV_UNKNOWN; - return false; + break; } } |