aboutsummaryrefslogtreecommitdiff
path: root/src/ata.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-04-17 16:57:57 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-04-17 16:57:57 -0400
commitb7045ce4676bc25898402606557add8c4a97c290 (patch)
tree298b516e5354d67a1564064e9cf0ec75581df901 /src/ata.c
parent67f6d3710079a6bfc1f3975add70be9e445484d9 (diff)
downloadseabios-hppa-b7045ce4676bc25898402606557add8c4a97c290.zip
seabios-hppa-b7045ce4676bc25898402606557add8c4a97c290.tar.gz
seabios-hppa-b7045ce4676bc25898402606557add8c4a97c290.tar.bz2
Minor - remove redundant check from ata_try_dma.
Diffstat (limited to 'src/ata.c')
-rw-r--r--src/ata.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ata.c b/src/ata.c
index dfe09e9..42bb691 100644
--- a/src/ata.c
+++ b/src/ata.c
@@ -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;