commit | b5a80252e09c2791380cdf10a6ebd7987900748c | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Tue Nov 05 09:41:42 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 07 11:17:50 2019 +0100 |
tree | b721deb1bda7adad2f7ddcd4199d7cd6a8adb145 | |
parent | 30da837a4938438a0259a7bc38dc05d66fa77c08 [diff] |
USB: legousbtower: drop redundant open_count check Drop redundant open_count check in release; the open count is used as a flag and is only set to 0 or 1. Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20191105084152.16322-5-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>