The check for zero sized resources is already done earlier. So don't redo it

here. I think we don't ever want to drop the extra check, since it indicates
that the components involved need fixing.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4876 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2009-10-28 14:57:14 +00:00 committed by Stefan Reinauer
parent 7782319c21
commit 2a87ac6403
1 changed files with 1 additions and 2 deletions

View File

@ -576,8 +576,7 @@ static void constrain_resources(struct device *dev, struct constraints* limits)
continue;
/* Is it already outside the limits? */
if (res->size && (((res->base + res->size -1) < lim->base) ||
(res->base > lim->limit)))
if (((res->base + res->size -1) < lim->base) || (res->base > lim->limit))
continue;
/* Choose to be above or below fixed resources. This