diff options
author | Mike Marshall <hubcap@omnibond.com> | 2018-06-01 19:18:26 +0200 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2018-06-01 20:51:40 +0200 |
commit | 8a6080f574b172f4d0916f69c52d3a157d355f9c (patch) | |
tree | 5b08f8a968430a1da2853d2437b82115c1e3d7bd /fs/orangefs | |
parent | orangefs: specify user pointers when using dev_map_desc and bufmap (diff) | |
download | linux-8a6080f574b172f4d0916f69c52d3a157d355f9c.tar.xz linux-8a6080f574b172f4d0916f69c52d3a157d355f9c.zip |
orangefs: remove unused function orangefs_get_bufmap_init
get_bufmap_init is used in the out-of-tree module, but was left in
the upstream version as an oversight. Tip-of-the-hat to sparse and Al Viro.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-rw-r--r-- | fs/orangefs/orangefs-bufmap.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/orangefs/orangefs-bufmap.c b/fs/orangefs/orangefs-bufmap.c index c4699a164f76..c4e98c9c1621 100644 --- a/fs/orangefs/orangefs-bufmap.c +++ b/fs/orangefs/orangefs-bufmap.c @@ -215,20 +215,6 @@ int orangefs_bufmap_shift_query(void) static DECLARE_WAIT_QUEUE_HEAD(bufmap_waitq); static DECLARE_WAIT_QUEUE_HEAD(readdir_waitq); -/* - * orangefs_get_bufmap_init - * - * If bufmap_init is 1, then the shared memory system, including the - * buffer_index_array, is available. Otherwise, it is not. - * - * returns the value of bufmap_init - */ -int orangefs_get_bufmap_init(void) -{ - return __orangefs_bufmap ? 1 : 0; -} - - static struct orangefs_bufmap * orangefs_bufmap_alloc(struct ORANGEFS_dev_map_desc *user_desc) { |