diff options
author | Vinson Lee <[email protected]> | 2013-06-25 20:55:40 -0700 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-26 21:51:07 +0800 |
commit | e6479b4330a7d2d7bc127913220e290f6073ec29 (patch) | |
tree | fae4fa762f593be7c32620d9efe342b224c4e5e9 | |
parent | c6d52f22903947183f6bdfb320672280514a1634 (diff) |
ilo: Remove max_threads dead code path.
max_threads cannot be greater than 28. It is either 21 or 28.
Fixes "Logically dead code" defect reported by Coverity.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Chia-I Wu <[email protected]>
-rw-r--r-- | src/gallium/drivers/ilo/ilo_gpe_gen6.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen6.c b/src/gallium/drivers/ilo/ilo_gpe_gen6.c index 9c88b0a5b31..4fb35079172 100644 --- a/src/gallium/drivers/ilo/ilo_gpe_gen6.c +++ b/src/gallium/drivers/ilo/ilo_gpe_gen6.c @@ -1304,9 +1304,6 @@ ilo_gpe_init_gs_cso_gen6(const struct ilo_dev_info *dev, max_threads = 21; } - if (max_threads > 28) - max_threads = 28; - dw2 = GEN6_GS_SPF_MODE; dw4 = vue_read_len << GEN6_GS_URB_READ_LENGTH_SHIFT | |