]> 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)
commitd7a6eff25d8948e7198b6594d0c803870a0aabfc
tree27989aee867382b7dd43221bca065fe967266bfe
parent591a60d3577dfe963fc88bb2a286b52feb447240
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: 4ead43a3559d ("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