Tag: af09054958ba2a17586a463eecafb6f0660d4cc0

staging: rtl8712: Remove unnecessary ret variable

Author: Joseph Bisch <joseph.bisch@gmail.com> Since the variable ret is set at the beginning of the function and never changes its value, we can just return the value it was set to. Found using coccinelle with misc/returnvar.cocci. Signed-off-by: Joseph Bisch Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8712/os_intfs.c | 3 +– 1 file changed, 1 insertion(+), 2 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.