bytesex.h: unify and optimize WRITEADDR()
commitb23062257619c7d2b4de368936c4d702516e8065
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 30 Nov 2017 00:05:59 +0000 (29 16:05 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 30 Nov 2017 00:05:59 +0000 (29 16:05 -0800)
tree8e01625a8d428798b3cf344bdcb76a15db49fa56
parentcb7da7e7f63f8c0dfd7baf0e970e737bf5f55cbf
bytesex.h: unify and optimize WRITEADDR()

WRITEADDR() really doesn't need multiple implementations.  Unify them,
and optimize the case of a constant length argument (not sure if that
is currently used, however.)

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
include/bytesex.h