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>
Sat, 3 Jul 2021 01:04:45 +0000 (21:04 -0400)
Change-Id: I4ec4b04576d043c5898263905a5db3ffa81a6c11

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

index 7ce44472295199318eb6e25b68ee726150d9fe3c..e9cb3e85328045e363fd6dcffef11d5804ff072b 100644 (file)
@@ -2191,7 +2191,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);