+3
−0
+1
−6
+1
−8
+1
−8
+4
−3
Loading
There are a lot of cases where the set_interrupt_mode callback function is not needed for callers of spdk_poller_register_interrupt(). Today, we force all callers to pass a function pointer, which in most cases does nothing. So relax this restriction to simplify calling code. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: Ib4064722c4dbd9366363a86a0ba7ccb5640cd1f9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24626 Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>