diff options
author | Heena Sirwani <heenasirwani@gmail.com> | 2014-10-01 14:39:51 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-02 09:58:15 -0700 |
commit | 56e1ccac5fe3bcd106fd04b86e18b1e4ec35ea82 (patch) | |
tree | aae09027b05757e167020b1c4725a3629a57b204 /drivers/staging | |
parent | 43311238ce5864a8b01d35931d63da14044a2c0d (diff) | |
download | linux-56e1ccac5fe3bcd106fd04b86e18b1e4ec35ea82.tar.gz linux-56e1ccac5fe3bcd106fd04b86e18b1e4ec35ea82.tar.bz2 linux-56e1ccac5fe3bcd106fd04b86e18b1e4ec35ea82.zip |
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>
Diffstat (limited to 'drivers/staging')
-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 4a6da10676e0..a94f336d578c 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -221,7 +221,7 @@ bad_data: return 1; } -void +static void brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic) { int i; |