summaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-11 23:34:23 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:17:33 -0700
commit859a35d5523e8e6a5c3568c12febe2e1270bc3a1 (patch)
tree0aab4623ec39fd01e229c24a97f04a46e9179efd /include/linux/ceph
parent643c68a4a990612720479078f3450d5b766da9f2 (diff)
downloadlinux-stable-859a35d5523e8e6a5c3568c12febe2e1270bc3a1.tar.gz
linux-stable-859a35d5523e8e6a5c3568c12febe2e1270bc3a1.tar.bz2
linux-stable-859a35d5523e8e6a5c3568c12febe2e1270bc3a1.zip
libceph: kill most of ceph_msg_pos
All but one of the fields in the ceph_msg_pos structure are now never used (only assigned), so get rid of them. This allows several small blocks of code to go away. This is cleanup of old code related to: http://tracker.ceph.com/issues/4428 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/messenger.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index af786b29f7a4..c76b228cb524 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -157,8 +157,6 @@ struct ceph_msg {
};
struct ceph_msg_pos {
- int page, page_pos; /* which page; offset in page */
- int data_pos; /* offset in data payload */
bool did_page_crc; /* true if we've calculated crc for current page */
};