Skip to content

Commit

Permalink
mm: unexport ksize
Browse files Browse the repository at this point in the history
This patch removes the obsolete and no longer used exports of ksize.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
  • Loading branch information
Adrian Bunk authored and Pekka Enberg committed Jul 29, 2008
1 parent 6e86841 commit 231367f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -4472,4 +4472,3 @@ size_t ksize(const void *objp)

return obj_size(virt_to_cache(objp));
}
EXPORT_SYMBOL(ksize);
1 change: 0 additions & 1 deletion mm/slob.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,6 @@ size_t ksize(const void *block)
else
return sp->page.private;
}
EXPORT_SYMBOL(ksize);

struct kmem_cache {
unsigned int size, align;
Expand Down
1 change: 0 additions & 1 deletion mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2715,7 +2715,6 @@ size_t ksize(const void *object)
*/
return s->size;
}
EXPORT_SYMBOL(ksize);

void kfree(const void *x)
{
Expand Down

0 comments on commit 231367f

Please sign in to comment.