Tag: 7586170c84de561c7bf05dd0df0c4bf9786417d5

staging: rts5208: 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