diff options
author | Jörn Engel <joern@logfs.org> | 2012-05-11 10:35:08 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-05-11 15:01:52 -0700 |
commit | 33933a0e962bba4af32de7db912e2fdfef603d24 (patch) | |
tree | df8e63fc5554c5eae2950f9d07658e5bc3ce6b64 /drivers/target | |
parent | d28d96dcf635410422b41eca5203b0470dd059c1 (diff) | |
download | op-kernel-dev-33933a0e962bba4af32de7db912e2fdfef603d24.zip op-kernel-dev-33933a0e962bba4af32de7db912e2fdfef603d24.tar.gz |
target: make target_put_session void
No real change, it effectively already was.
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 397e8bd..eeb16b1 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -330,9 +330,9 @@ void target_get_session(struct se_session *se_sess) } EXPORT_SYMBOL(target_get_session); -int target_put_session(struct se_session *se_sess) +void target_put_session(struct se_session *se_sess) { - return kref_put(&se_sess->sess_kref, target_release_session); + kref_put(&se_sess->sess_kref, target_release_session); } EXPORT_SYMBOL(target_put_session); |