projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f6d37
)
Minor - remove redundant check from ata_try_dma.
author
Kevin O'Connor
<kevin@koconnor.net>
Sat, 17 Apr 2010 20:57:57 +0000
(16:57 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sat, 17 Apr 2010 20:57:57 +0000
(16:57 -0400)
src/ata.c
patch
|
blob
|
history
diff --git
a/src/ata.c
b/src/ata.c
index dfe09e95b21007e4d74d93317ab913c6a4b16e4e..42bb69123e2a8c545338a645d9902b98c4f86b7f 100644
(file)
--- 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;