diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-04-17 16:57:57 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-04-17 16:57:57 -0400 |
commit | b7045ce4676bc25898402606557add8c4a97c290 (patch) | |
tree | 298b516e5354d67a1564064e9cf0ec75581df901 | |
parent | 67f6d3710079a6bfc1f3975add70be9e445484d9 (diff) | |
download | seabios-b7045ce4676bc25898402606557add8c4a97c290.tar.gz |
Minor - remove redundant check from ata_try_dma.
-rw-r--r-- | src/ata.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -405,8 +405,6 @@ ata_try_dma(struct disk_op_s *op, int iswrite, int blocksize) // Too many descriptors.. return -1; u32 count = bytes; - if (count > 0x10000) - count = 0x10000; u32 max = 0x10000 - (dest & 0xffff); if (count > max) count = max; |