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: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453149
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
wuzhouhui 2019-05-05 19:21:18 +08:00 committed by Jim Harris
parent 8b3533f502
commit 4b3c56b288

View File

@ -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.