]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/smc: Remove error handling of unregister_dmb()
authorAlexandra Winter <wintera@linux.ibm.com>
Thu, 18 Sep 2025 11:04:47 +0000 (13:04 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 23 Sep 2025 09:13:21 +0000 (11:13 +0200)
commit884eee8e43f3072db4111178c98b9aa5c57bcf92
tree244f8ff113196167a854407ed5614ea5bfc6c7d1
parent6e2f1484b94435d7491dcc380ce2959fcf6caba9
net/smc: Remove error handling of unregister_dmb()

smcd_buf_free() calls smc_ism_unregister_dmb(lgr->smcd, buf_desc) and
then unconditionally frees buf_desc.

Remove the cleaning up of fields of buf_desc in
smc_ism_unregister_dmb(), because it is not helpful.

This removes the only usage of ISM_ERROR from the smc module. So move it
to drivers/s390/net/ism.h.

Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Reviewed-by: Mahanta Jambigi <mjambigi@linux.ibm.com>
Reviewed-by: Dust Li <dust.li@linux.alibaba.com>
Link: https://patch.msgid.link/20250918110500.1731261-2-wintera@linux.ibm.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/s390/net/ism.h
include/net/smc.h
net/smc/smc_ism.c
net/smc/smc_ism.h