iscsi: remove unused mobj fields
The `len` field wasn't used at all and `reserved` is no longer needed after we removed the paddr in the previous patch. This effectively cuts down spdk_mobj struct size by half. Change-Id: Ica39f3a30e14ec1275a87d827dc41df5df9cf623 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/443483 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
473d5a8f14
commit
95200f5bac
@ -159,8 +159,6 @@
|
||||
struct spdk_mobj {
|
||||
struct spdk_mempool *mp;
|
||||
void *buf;
|
||||
size_t len;
|
||||
uint64_t reserved; /* do not use */
|
||||
};
|
||||
|
||||
struct spdk_iscsi_pdu {
|
||||
|
Loading…
x
Reference in New Issue
Block a user