diff options
author | Heena Sirwani | 2014-10-03 07:14:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-10-20 04:29:09 +0200 |
commit | ec17e8113b5a17bc3326de7c50ea7f42c6272b48 (patch) | |
tree | 3bc2c51f46e2c0d1c8591d6eefe817bbb9e52b4d /drivers/staging/lustre/lnet | |
parent | Staging: lustre: lnet: Declare ping_srv_workitems static (diff) | |
download | kernel-qcow2-linux-ec17e8113b5a17bc3326de7c50ea7f42c6272b48.tar.gz kernel-qcow2-linux-ec17e8113b5a17bc3326de7c50ea7f42c6272b48.tar.xz kernel-qcow2-linux-ec17e8113b5a17bc3326de7c50ea7f42c6272b48.zip |
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 warning:
WARNING: symbol 'brw_check_bulk' 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>
Diffstat (limited to 'drivers/staging/lustre/lnet')
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/brw_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c index a94f336d578c..bf6f125064eb 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -233,7 +233,7 @@ brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic) } } -int +static int brw_check_bulk(srpc_bulk_t *bk, int pattern, __u64 magic) { int i; |