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

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.