summaryrefslogtreecommitdiff
path: root/net/ceph/messenger.c
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@nodalink.com>2015-06-24 23:18:39 +0200
committerIlya Dryomov <idryomov@gmail.com>2015-06-25 18:30:56 +0300
commit6ba8edc0bcbdf337293e60123ddac8fc1c895a3c (patch)
treead37526cf2ec032ce3a0d128e9c9895f5f44cdb6 /net/ceph/messenger.c
parentb55841807fb864eccca0167650a65722fd7cd553 (diff)
downloadlinux-6ba8edc0bcbdf337293e60123ddac8fc1c895a3c.tar.gz
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: Benoît Canet <benoit.canet@nodalink.com> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/messenger.c')
-rw-r--r--net/ceph/messenger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c
index 967080a9f043..38f06a4c3c9e 100644
--- a/net/ceph/messenger.c
+++ b/net/ceph/messenger.c
@@ -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;
}