diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-10-20 15:33:41 (GMT) |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-10-21 09:30:33 (GMT) |
commit | deba4bce168a87ef90211ba69850d3428b453765 (patch) | |
tree | 99b3f037d78800eefc6c0edc40027add1b145581 /drivers/iommu/amd_iommu_types.h | |
parent | ca9cab3a5a9ea2ff03d761494b002897e2e3c4b5 (diff) | |
download | linux-deba4bce168a87ef90211ba69850d3428b453765.tar.xz |
iommu/amd: Remove cmd_buf_size and evt_buf_size from struct amd_iommu
The driver always uses a constant size for these buffers
anyway, so there is no need to waste memory to store the
sizes.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_types.h')
-rw-r--r-- | drivers/iommu/amd_iommu_types.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h index 3026b34..921b2e9 100644 --- a/drivers/iommu/amd_iommu_types.h +++ b/drivers/iommu/amd_iommu_types.h @@ -528,11 +528,7 @@ struct amd_iommu { /* command buffer virtual address */ u8 *cmd_buf; - /* size of command buffer */ - u32 cmd_buf_size; - /* size of event buffer */ - u32 evt_buf_size; /* event buffer virtual address */ u8 *evt_buf; |