aio: don't print the page size at boot time
authorChristoph Hellwig <hch@lst.de>
Thu, 14 Dec 2017 13:25:02 +0000 (14:25 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 May 2018 17:48:36 +0000 (19:48 +0200)
The page size is in no way related to the aio code, and printing it in
the (debug) dmesg at every boot serves no purpose.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/aio.c

index 88d7927..add46b0 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -264,9 +264,6 @@ static int __init aio_setup(void)
 
        kiocb_cachep = KMEM_CACHE(aio_kiocb, SLAB_HWCACHE_ALIGN|SLAB_PANIC);
        kioctx_cachep = KMEM_CACHE(kioctx,SLAB_HWCACHE_ALIGN|SLAB_PANIC);
-
-       pr_debug("sizeof(struct page) = %zu\n", sizeof(struct page));
-
        return 0;
 }
 __initcall(aio_setup);