diff options
author | Benoît Canet <benoit.canet@nodalink.com> | 2015-06-25 00:18:39 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-06-25 18:30:56 +0300 |
commit | 6ba8edc0bcbdf337293e60123ddac8fc1c895a3c (patch) | |
tree | ad37526cf2ec032ce3a0d128e9c9895f5f44cdb6 /net/ceph | |
parent | b55841807fb864eccca0167650a65722fd7cd553 (diff) | |
download | linux-6ba8edc0bcbdf337293e60123ddac8fc1c895a3c.tar.xz |
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')
-rw-r--r-- | net/ceph/messenger.c | 1 |
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; } |