dlm: remove unnecessary error assign
authorAlexander Aring <aahringo@redhat.com>
Mon, 2 May 2022 15:14:08 +0000 (11:14 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 2 May 2022 16:22:15 +0000 (11:22 -0500)
commit0ccc106052715617015277b596bd1a591bbe4416
tree843a8fff61428572744ae666047aed438d32aa95
parent1689c169134f4b5a39156122d799b7dca76d8ddb
dlm: remove unnecessary error assign

This patch removes unnecessary error assigns to 0 at places we know that
error is zero because it was checked on non-zero before.

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