From: Ilia Mirkin Date: Sat, 6 Sep 2014 15:11:58 +0000 (-0400) Subject: nvc0: size is a uint16_t, remove unnecessary assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ced42b1aaee04734e7ff298a71f3203cc4a1d50;p=mesa.git nvc0: size is a uint16_t, remove unnecessary assertion Reported by Coverity. Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/nvc0/nve4_compute.h b/src/gallium/drivers/nouveau/nvc0/nve4_compute.h index 79862b7dcd8..4d7af54d860 100644 --- a/src/gallium/drivers/nouveau/nvc0/nve4_compute.h +++ b/src/gallium/drivers/nouveau/nvc0/nve4_compute.h @@ -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;