staging: lustre: osc: osc_request: Declare local function and structure as static
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Tue, 16 Feb 2016 13:44:12 +0000 (19:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:38:33 +0000 (14:38 -0800)
commitf51e5a202e3cd6656f91fd61fda0bf206aa895e3
tree044b60c4261cebd2d7766cb00372dfbf290512cf
parent8cee691ea8def0a9d3e538c67ac2735b9053fd3d
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>
drivers/staging/lustre/lustre/osc/osc_request.c