iwlwifi: optimize struct iwl_cmd_meta layout
Having a u32 before a potential 64-bit value is not very efficient, move it last. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
committed by
Wey-Yi Guy
parent
50c1e9a9e3
commit
c14c73728b
@@ -139,10 +139,10 @@ struct iwl_cmd_meta {
|
|||||||
/* only for SYNC commands, iff the reply skb is wanted */
|
/* only for SYNC commands, iff the reply skb is wanted */
|
||||||
struct iwl_host_cmd *source;
|
struct iwl_host_cmd *source;
|
||||||
|
|
||||||
u32 flags;
|
|
||||||
|
|
||||||
DEFINE_DMA_UNMAP_ADDR(mapping);
|
DEFINE_DMA_UNMAP_ADDR(mapping);
|
||||||
DEFINE_DMA_UNMAP_LEN(len);
|
DEFINE_DMA_UNMAP_LEN(len);
|
||||||
|
|
||||||
|
u32 flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user