hw/block/nvme: Simplify timestamp sum
commit009f51df0e697bab4578037092057ac398fd15f4
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 2 Oct 2020 07:57:16 +0000 (2 09:57 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 13 Oct 2020 11:33:45 +0000 (13 13:33 +0200)
tree3dadd1bb5d1567a63b04453b24185e80fd29f407
parent32048d724d85c986dbd1883bc30c39befb8d7767
hw/block/nvme: Simplify timestamp sum

As the 'timestamp' variable is declared as a 48-bit bitfield,
we do not need to wrap the sum result.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Message-Id: <20201002075716.1657849-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/block/nvme.c