r600g: Removed unnecessary positivity check for unsigned int variable.
[mesa.git] / src / gallium / drivers / r600 / r600_asm.c
index 86f79e209b2f593dfd37141a0afd81ea6afb6e21..c5922a8fa5bdbc27c39280358375f975374f174d 100644 (file)
@@ -387,7 +387,7 @@ static int reserve_cfile(struct r600_bytecode *bc, struct alu_bank_swizzle *bs,
 
 static int is_gpr(unsigned sel)
 {
-       return (sel >= 0 && sel <= 127);
+       return (sel <= 127);
 }
 
 /* CB constants start at 512, and get translated to a kcache index when ALU