Tag: 0f3083af5fde121abefddf70c84ba51455ae310f

USB: serial: fix returnvar.cocci warnings

Author: Mathieu OTHACEHE <m.othacehe@gmail.com> Remove unneeded variables when “0” can be returned. Generated by: scripts/coccinelle/misc/returnvar.cocci Signed-off-by: Mathieu OTHACEHE Signed-off-by: Johan Hovold — drivers/usb/serial/cyberjack.c | 3 +– drivers/usb/serial/garmin_gps.c | 3 +– 2 files changed, 2 insertions(+), 4 deletions(-)   diff –git a/drivers/usb/serial/cyberjack.c b/drivers/usb/serial/cyberjack.c index 2916dea..5f17a3b 100644 — a/drivers/usb/serial/cyberjack.c +++ b/drivers/usb/serial/cyberjack.c @@ -140,7 +140,6 @@ static int …

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.