]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drivers: block: Mark the functions as static in skd_main.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 09:32:22 +0000 (15:02 +0530)
committerJens Axboe <axboe@kernel.dk>
Thu, 19 Dec 2013 15:06:49 +0000 (08:06 -0700)
commita26ba7faddd51be3dd8957543a9d984a4ddd104a
treef4ec725bb8774e1b9777a84d42e69e4b3e7bf94e
parent60e53a6701ca55b3399275d805d223834819d9ce
drivers: block: Mark the functions as static in skd_main.c

Mark functions skd_skmsg_state_to_str() and skd_skreq_state_to_str() as
static in skd_main.c because they are not used outside this file.

This eliminates the following warnings in skd_main.c:
drivers/block/skd_main.c:5272:13: warning: no previous prototype for ‘skd_skmsg_state_to_str’ [-Wmissing-prototypes]
drivers/block/skd_main.c:5284:13: warning: no previous prototype for ‘skd_skreq_state_to_str’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c