commit | af09054958ba2a17586a463eecafb6f0660d4cc0 | [log] [tgz] |
---|---|---|
author | Joseph Bisch <joseph.bisch@gmail.com> | Sun Feb 14 16:57:27 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 14 16:49:09 2016 -0800 |
tree | ef342178bce842c68260d95ce07b955890219002 | |
parent | f7099ad7bd35c56795fb50f5026b7040abac62da [diff] |
staging: rtl8712: Remove unnecessary ret variable 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 <joseph.bisch@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>