diff options
| author | 2016-03-02 17:02:00 -0500 | |
|---|---|---|
| committer | 2016-03-02 15:23:49 -0800 | |
| commit | 439b4d45f189019b72687d426a1c16e26fb07571 (patch) | |
| tree | a6f028f10642c8aaf3fcd62e5b20a93bfc1c2437 /scripts/patch-kernel | |
| parent | staging: lustre: reverse LNet and infinband header order (diff) | |
staging: lustre: make o2iblnd local functions static
This fixes sparse warnings such as:
.../o2iblnd.c:424:1: warning: symbol 'kiblnd_get_peer_info' was not declared.
Should it be static?
This reduces the code size by 400 bytes.
The body of "the_o2iblnd" was moved at the end of the file,
to avoid having to declare some static prototypes.
Signed-off-by: Frank Zago <fzago@cray.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5396
Reviewed-on: http://review.whamcloud.com/11255
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
