Hello there,

linux-4.11-rc4/drivers/gpu/drm/radeon/r100.c:3303]: (style) Redundant 
condition: If 'EXPR == 11', the comparison 'EXPR <= 12' is always true.

Source code is

    } else if (rdev->family == CHIP_RV350 ||
           rdev->family <= CHIP_RV380) {

Also in the same file:

[drivers/gpu/drm/radeon/r100.c:2550]: (style) Variable 'tmp' is assigned a value
 that is never used.
[drivers/gpu/drm/radeon/r100.c:2875]: (style) Variable 'tmp' is assigned a value
 that is never used.

Regards

David Binderman
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to