amlogic: tvout: Remove extra parentheses
authorStricted <info@stricted.net>
Sat, 19 Jun 2021 23:07:43 +0000 (23:07 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:35:25 +0000 (13:35 -0500)
Change-Id: I4ec4b04576d043c5898263905a5db3ffa81a6c11

drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c

index 5e71e0c50b7e979fe3ad93f66bf2128e0b432e98..cf4137a035de44daf793ec9d81e2d57045ba3fdf 100644 (file)
@@ -2229,7 +2229,7 @@ static void hdmitx_set_emp_pkt(unsigned char *data, unsigned int type,
                        memcpy(&virt_ptr_align32bit[10], &data[0],
                                sizeof(unsigned char) * remainder);
                } else {
-                       if ((i == 0)) {
+                       if (i == 0) {
                        /*MD: first package need PB[7]-[27]*/
                                memcpy(&virt_ptr_align32bit[10], &data[0],
                                        sizeof(unsigned char) * 21);