Tag: 4a1e81bc5dbecb28c33851e8e571d2127462910d

staging: [media] mn88472: simplify NULL tests

Author: Eva Rachel Retuya <eraretuya@gmail.com> Replace direct comparisons to NULL i.e. ‘x == NULL’ with ‘!x’ for consistency. Coccinelle semantic patch used: @@ identifier func; expression x; statement Z; @@ x = func(…); if ( ( + ! x – == NULL | + ! – NULL == x ) ) Z Signed-off-by: Eva Rachel …

Continue reading