1
0
Fork 0

Staging: lustre: lnet: selftest: Made a function static.

The following patch makes a function static as it is not used by other
files.
The patch fixes the following warning:
WARNING: symbol brw_inject_one_error was not declared. Should it be
static?

The above warning was reported by sparse.

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Heena Sirwani 2014-10-01 14:37:36 +05:30 committed by Greg Kroah-Hartman
parent d5bd050416
commit d4b2d88a08
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ brw_client_init(sfw_test_instance_t *tsi)
#define BRW_MAGIC 0xeeb0eeb1eeb2eeb3ULL
#define BRW_MSIZE sizeof(__u64)
int
static int
brw_inject_one_error(void)
{
struct timeval tv;