dlm: move conversion to compile time
authorAlexander Aring <aahringo@redhat.com>
Mon, 4 Apr 2022 20:06:42 +0000 (16:06 -0400)
committerDavid Teigland <teigland@redhat.com>
Wed, 6 Apr 2022 19:02:40 +0000 (14:02 -0500)
commit14a92fd7038279bf652b6daa5ab6e4241b66fad6
treec06af772e23d9630fd091fd07dc9c7532cfcb749
parent00e99ccde75722599faf089416341bfed7e4edb5
dlm: move conversion to compile time

This patch is a cleanup to move the byte order conversion to compile
time. In a simple comparison like this it's possible to move it to
static values so the compiler will always convert those values at
compile time.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/midcomms.c