lib/nvmf: Remove workaround for astyle format check about break-after-return-type
To avoid the strange formatting, typedef has been used. But this comment is hard to get the meaning. So stop breaking after return type for this case. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ia03d6ec50610c395007fe172018b890733dce599 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1052 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
4f4d0ab6c1
commit
39efe1512f
@ -1323,11 +1323,7 @@ spdk_nvmf_subsystem_get_nqn(const struct spdk_nvmf_subsystem *subsystem)
|
||||
return subsystem->subnqn;
|
||||
}
|
||||
|
||||
/* Workaround for astyle formatting bug */
|
||||
typedef enum spdk_nvmf_subtype nvmf_subtype_t;
|
||||
|
||||
nvmf_subtype_t
|
||||
spdk_nvmf_subsystem_get_type(struct spdk_nvmf_subsystem *subsystem)
|
||||
enum spdk_nvmf_subtype spdk_nvmf_subsystem_get_type(struct spdk_nvmf_subsystem *subsystem)
|
||||
{
|
||||
return subsystem->subtype;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user