Commit bffe8bc4 authored by Konrad Sztyber's avatar Konrad Sztyber Committed by Tomasz Zawadzki
Browse files

sock: remove packed attribute from spdk_sock_opts



Similarly to the NVMe *_opts structures, the packing here is not needed,
provided users always initialize the opts using spdk_sock_get_default_opts().

Signed-off-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I30167feca051075c8bac72427d099d2f6844c9a6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18595


Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent fc12d276
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ struct spdk_sock_opts {
	 * Size of the impl_opts structure.
	 */
	size_t impl_opts_size;
} __attribute__((packed));
};
SPDK_STATIC_ASSERT(sizeof(struct spdk_sock_opts) == 40, "Incorrect size");

/**