]> Gentwo Git Trees - linux/.git/commit
dibs: Remove reset of static vars in dibs_init()
authorAlexandra Winter <wintera@linux.ibm.com>
Thu, 23 Oct 2025 15:06:35 +0000 (17:06 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 28 Oct 2025 12:42:31 +0000 (13:42 +0100)
commit182663bbff784e88cf7acbae7c53c6c5e0cb9ca4
treebce462b7c0ce3d26f9e12f184c2ee3462261f6fb
parent51f322550b1b7660fb8be655d82a68e49fdd60f5
dibs: Remove reset of static vars in dibs_init()

'clients' and 'max_client' are static variables and therefore don't need to
be initialized.

Reported-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Dust Li <dust.li@linux.alibaba.com>
Link: https://patch.msgid.link/20251023150636.3995476-1-wintera@linux.ibm.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/dibs/dibs_main.c