gpu: ipu-v3: ipu-csi: bool test doesn't need a comparison to false
[cascardo/linux.git] / drivers / gpu / ipu-v3 / ipu-csi.c
index 752cdd2..eec5adb 100644 (file)
@@ -538,7 +538,7 @@ void ipu_csi_set_test_generator(struct ipu_csi *csi, bool active,
 
        temp = ipu_csi_read(csi, CSI_TST_CTRL);
 
-       if (active == false) {
+       if (!active) {
                temp &= ~CSI_TEST_GEN_MODE_EN;
                ipu_csi_write(csi, temp, CSI_TST_CTRL);
        } else {