Tag: 27f31cf9f7235cb3aa10860bf4fde5df6893bf52

staging: vt6656: replace explicit NULL comparison with ! operator

Author: Alison Schofield <amsfield22@gmail.com> Replace explicit NULL comparison with ! operator to simplify code. Found with Coccinelle: @@ expression e; statement s0, s1; @@ if ( ( + ! e – == NULL || … ) ) s0 else s1 Signed-off-by: Alison Schofield Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/vt6656/main_usb.c | 10 +++++—– drivers/staging/vt6656/usbpipe.c …

Continue reading