nvc0: size is a uint16_t, remove unnecessary assertion
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 6 Sep 2014 15:11:58 +0000 (11:11 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 9 Sep 2014 00:06:11 +0000 (20:06 -0400)
Reported by Coverity.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nve4_compute.h

index 79862b7dcd8545edc040db864663bafffe8af64b..4d7af54d8604207aa6bdf79cfa8cf61f6e8b87bb 100644 (file)
@@ -88,7 +88,6 @@ nve4_cp_launch_desc_set_cb(struct nve4_cp_launch_desc *desc,
 
    assert(index < 8);
    assert(!(base & 0xff));
-   assert(size <= 65536);
 
    desc->cb[index].address_l = address;
    desc->cb[index].address_h = address >> 32;