diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2007-02-10 02:37:40 -0500 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-02-10 02:37:40 -0500 |
commit | 6be145bfb1ce93b2dbb854fee66fbb8d04916339 (patch) | |
tree | e723cab2dbc3a067a9d154070ad98b51b3a7fca7 /fs/xfs/xfs_da_btree.c | |
parent | 2c36ddeda7f04c085d9a612cf8dab5f0a1cd5224 (diff) |
[XFS] Remove a bunch of unused functions from XFS.
Patch provided by Eric Sandeen (sandeen@sandeen.net).
SGI-PV: 960897
SGI-Modid: xfs-linux-melb:xfs-kern:28038a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
-rw-r--r-- | fs/xfs/xfs_da_btree.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c index cccf69edb81b..aea37df4aa62 100644 --- a/fs/xfs/xfs_da_btree.c +++ b/fs/xfs/xfs_da_btree.c | |||
@@ -2165,21 +2165,6 @@ xfs_da_reada_buf( | |||
2165 | return rval; | 2165 | return rval; |
2166 | } | 2166 | } |
2167 | 2167 | ||
2168 | /* | ||
2169 | * Calculate the number of bits needed to hold i different values. | ||
2170 | */ | ||
2171 | uint | ||
2172 | xfs_da_log2_roundup(uint i) | ||
2173 | { | ||
2174 | uint rval; | ||
2175 | |||
2176 | for (rval = 0; rval < NBBY * sizeof(i); rval++) { | ||
2177 | if ((1 << rval) >= i) | ||
2178 | break; | ||
2179 | } | ||
2180 | return(rval); | ||
2181 | } | ||
2182 | |||
2183 | kmem_zone_t *xfs_da_state_zone; /* anchor for state struct zone */ | 2168 | kmem_zone_t *xfs_da_state_zone; /* anchor for state struct zone */ |
2184 | kmem_zone_t *xfs_dabuf_zone; /* dabuf zone */ | 2169 | kmem_zone_t *xfs_dabuf_zone; /* dabuf zone */ |
2185 | 2170 | ||