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
parent
d5bd050416
commit
d4b2d88a08
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue