From: Kevin O'Connor Date: Sat, 17 Apr 2010 20:57:57 +0000 (-0400) Subject: Minor - remove redundant check from ata_try_dma. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=b7045ce4676bc25898402606557add8c4a97c290;p=seabios.git Minor - remove redundant check from ata_try_dma. --- 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;