From: Andreas Ruprecht Date: Mon, 2 Feb 2015 19:24:14 +0000 (+0100) Subject: staging: lustre: osc: Make osc_init() static X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b47ea4bbfefac60ba24ae4ada637f997ed694716;p=pandora-kernel.git staging: lustre: osc: Make osc_init() static osc_init() is marked as the module_init function in osc_request.c and is never used anywhere else. Hence, it can (and should) be declared static. sparse also complained about this with the following warning, which is fixed by this patch. andreas@workbox:~/linux-next$ make C=1 M=drivers/staging/lustre/lustre/osc/ [...] drivers/staging/lustre/lustre/osc/osc_request.c:3335:12: warning: symbol 'osc_init' was not declared. Should it be static? [...] Signed-off-by: Andreas Ruprecht Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed