diff options
| author | 2016-02-16 19:14:12 +0530 | |
|---|---|---|
| committer | 2016-02-20 14:38:33 -0800 | |
| commit | f51e5a202e3cd6656f91fd61fda0bf206aa895e3 (patch) | |
| tree | 044b60c4261cebd2d7766cb00372dfbf290512cf /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | staging: lustre: obdclass: obd_mount: Declare function as static (diff) | |
staging: lustre: osc: osc_request: Declare local function and structure as static
Declare osc_cleanup() function and osc_obd_ops structure as static
since they are defined and called only in this file.
Removed osc_cleanup() function prototype since it wasn't required.
This fixes the following sparse warnings:
drivers/staging/lustre/lustre/osc/osc_request.c:3210:5: warning:
symbol 'osc_cleanup' was not declared. Should it be static?
drivers/staging/lustre/lustre/osc/osc_request.c:3259:16: warning:
symbol 'osc_obd_ops' was not declared. Should it be static?
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
