staging: gasket: sysfs: remove check for refcount already zero
authorTodd Poynor <toddpoynor@google.com>
Sat, 28 Jul 2018 05:21:56 +0000 (22:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 28 Jul 2018 07:24:10 +0000 (09:24 +0200)
commite7cffa03b34265e17de55d5ef8983c91482643a0
tree36067bd0cae67a5b78a8fc44cf33d8cea1be2ccc
parent81edee7ac83c5782859db4053a866fc0c29f982f
staging: gasket: sysfs: remove check for refcount already zero

Remove the check for refcount already zero, which shouldn't be
necessary.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_sysfs.c