From: Shraddha Barke Date: Sun, 4 Oct 2015 07:30:15 +0000 (+0530) Subject: Staging: lustre: obdclass: class_obd: Declare as static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=28fcc6626f1b3880e989f73d0472f54fdb72835f;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Staging: lustre: obdclass: class_obd: Declare as static Declare obd_init_checks as static since it is used only in this particular file. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/class_obd.c b/drivers/staging/lustre/lustre/obdclass/class_obd.c index d16f85b49ff4..e8a155809872 100644 --- a/drivers/staging/lustre/lustre/obdclass/class_obd.c +++ b/drivers/staging/lustre/lustre/obdclass/class_obd.c @@ -403,7 +403,7 @@ int class_handle_ioctl(unsigned int cmd, unsigned long arg) } /* class_handle_ioctl */ #define OBD_INIT_CHECK -int obd_init_checks(void) +static int obd_init_checks(void) { __u64 u64val, div64val; char buf[64];