Tag: 474be12de61c60503ee6164b65afd5608e60b80c

staging: gdm72xx: compress return logic into one line

Author: Alison Schofield <amsfield22@gmail.com> Simplify function returns by merging assignment and return into one command line. Found with Coccinelle @@ expression e, ret; @@ -ret = +return e; -return ret; Signed-off-by: Alison Schofield Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/gdm72xx/netlink_k.c | 3 +– drivers/staging/gdm72xx/usb_boot.c | 4 +— 2 files changed, 2 insertions(+), 5 deletions(-) …

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.