When CONFIG_SYSCTL is not defined in the kernel config, a couple of
variables are left unused, yet still defined.
i=Dmitry Zogin
i=Andrew Perepechko
#include <asm/div64.h>
#include "tracefile.h"
#include <asm/div64.h>
#include "tracefile.h"
static cfs_sysctl_table_header_t *lnet_table_header = NULL;
static cfs_sysctl_table_header_t *lnet_table_header = NULL;
extern char lnet_upcall[1024];
/**
* The path of debug log dump upcall script.
extern char lnet_upcall[1024];
/**
* The path of debug log dump upcall script.
static cfs_sysctl_table_t top_table[] = {
{
.ctl_name = CTL_LNET,
static cfs_sysctl_table_t top_table[] = {
{
.ctl_name = CTL_LNET,
if (lnet_table_header == NULL)
lnet_table_header = cfs_register_sysctl_table(top_table, 0);
#endif
if (lnet_table_header == NULL)
lnet_table_header = cfs_register_sysctl_table(top_table, 0);
#endif
#include <obd_support.h>
#include <lprocfs_status.h>
#include <obd_support.h>
#include <lprocfs_status.h>
cfs_sysctl_table_header_t *obd_table_header = NULL;
cfs_sysctl_table_header_t *obd_table_header = NULL;
#ifndef HAVE_SYSCTL_UNNUMBERED
#ifndef HAVE_SYSCTL_UNNUMBERED
return ll_proc_dointvec(table, write, filp, buffer, lenp, ppos);
}
return ll_proc_dointvec(table, write, filp, buffer, lenp, ppos);
}
static cfs_sysctl_table_t obd_table[] = {
{
.ctl_name = OBD_FAIL_LOC,
static cfs_sysctl_table_t obd_table[] = {
{
.ctl_name = OBD_FAIL_LOC,
void obd_sysctl_init (void)
{
void obd_sysctl_init (void)
{