]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c30c4660cde833abd76bb1466c98a546271a404
tree27989aee867382b7dd43221bca065fe967266bfe
parent5b7ec3bfb88b5ef576bcb074edc75f5970967a5f
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: b7b4753fe8b8 ("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