Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752747AbbHRUAA (ORCPT ); Tue, 18 Aug 2015 16:00:00 -0400 Received: from mail-qg0-f47.google.com ([209.85.192.47]:32893 "EHLO mail-qg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbbHRT77 (ORCPT ); Tue, 18 Aug 2015 15:59:59 -0400 From: Dan Streetman To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Dan Streetman Subject: [PATCH] zpool: remove no-op module init/exit Date: Tue, 18 Aug 2015 15:59:46 -0400 Message-Id: <1439927986-30766-1-git-send-email-ddstreet@ieee.org> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1039 Lines: 41 Remove zpool_init() and zpool_exit(); they do nothing other than print "loaded" and "unloaded". Signed-off-by: Dan Streetman --- mm/zpool.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/mm/zpool.c b/mm/zpool.c index d8cf7cd..8f670d3 100644 --- a/mm/zpool.c +++ b/mm/zpool.c @@ -353,20 +353,6 @@ u64 zpool_get_total_size(struct zpool *zpool) return zpool->driver->total_size(zpool->pool); } -static int __init init_zpool(void) -{ - pr_info("loaded\n"); - return 0; -} - -static void __exit exit_zpool(void) -{ - pr_info("unloaded\n"); -} - -module_init(init_zpool); -module_exit(exit_zpool); - MODULE_LICENSE("GPL"); MODULE_AUTHOR("Dan Streetman "); MODULE_DESCRIPTION("Common API for compressed memory storage"); -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/