afs: remove redundant assignment of dvnode to itself
authorColin Ian King <colin.king@canonical.com>
Mon, 20 Nov 2017 13:58:20 +0000 (13:58 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 24 Nov 2017 13:55:46 +0000 (13:55 +0000)
commit43dd388b21c722616413781bd434522376e117cc
tree27989aee867382b7dd43221bca065fe967266bfe
parent6832795164d42413fd9ef991f9ef9b30a7248377
afs: remove redundant assignment of dvnode to itself

The assignment of dvnode to itself is redundant and can be removed.
Cleans up warning detected by cppcheck:

fs/afs/dir.c:975: (warning) Redundant assignment of 'dvnode' to itself.

Fixes: d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/dir.c