瀏覽代碼

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

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

The above warning was reported by sparse.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Heena Sirwani 11 年之前
父節點
當前提交
56e1ccac5f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/lustre/lnet/selftest/brw_test.c

+ 1 - 1
drivers/staging/lustre/lnet/selftest/brw_test.c

@@ -221,7 +221,7 @@ bad_data:
 	return 1;
 	return 1;
 }
 }
 
 
-void
+static void
 brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic)
 brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic)
 {
 {
 	int	 i;
 	int	 i;