summaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2014-05-30 11:35:54 -0600
committerAlex Williamson <alex.williamson@redhat.com>2014-05-30 11:35:54 -0600
commitb13460b92093b29347e99d6c3242e350052b62cd (patch)
tree53950c28dd2468d9a6654edc1c4e837c9b33c391 /drivers/vfio
parentc8dbca165bb090f926996a572ea2b5b577b34b70 (diff)
drivers/vfio: Rework offsetofend()
The macro offsetofend() introduces unnecessary temporary variable "tmp". The patch avoids that and saves a bit memory in stack. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions