Commit 4b3c56b2 authored by wuzhouhui's avatar wuzhouhui Committed by Jim Harris
Browse files

include/notify: remove a incorrect comment



The spdk_notify_type_register() will deep-copy contents of variable, so
the variable no need to stay valid through whole program lifetime.

Change-Id: If84db642b59d949a8a527312b59216fd8856f288
Signed-off-by: default avatarwuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453149


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 8b3533f5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -71,8 +71,6 @@ typedef int (*spdk_notify_get_event_cb)(uint64_t idx, const struct spdk_notify_e
/**
 * Register \c type as new notification type.
 *
 * The \c type must be valid through whole program lifetime (chance being a global variable).
 *
 * \note This function is thread safe.
 *
 * \param type New notification type to register.