Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ba8edc0 authored by Benoît Canet's avatar Benoît Canet Committed by Ilya Dryomov
Browse files

libceph: Remove spurious kunmap() of the zero page



ceph_tcp_sendpage already does the work of mapping/unmapping
the zero page if needed.

Signed-off-by: default avatarBenoît Canet <benoit.canet@nodalink.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent b5584180
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -278,7 +278,6 @@ static void _ceph_msgr_exit(void)
	ceph_msgr_slab_exit();

	BUG_ON(zero_page == NULL);
	kunmap(zero_page);
	page_cache_release(zero_page);
	zero_page = NULL;
}