]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drivers: block: Mark functions as static in drbd_receiver.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 09:41:09 +0000 (15:11 +0530)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:19:39 +0000 (16:19 +0100)
commitf63e631a34babb0ff0ee6feb6d968855470b67ac
tree2dab5889bdaab06d4cf2071f07ca4fe8b9e7dca2
parent01cd263614b8b827f7f3997a3bf3d3e552c14d6e
drivers: block: Mark functions as static in drbd_receiver.c

Mark functions conn_wait_active_ee_empty() and
drbd_crypto_alloc_digest_safe() as static in drbd/drbd_receiver.c
because they are not used outside this file.

This eliminates the following warning in drbd/drbd_receiver.c:
drivers/block/drbd/drbd_receiver.c:1401:6: warning: no previous prototype for ‘conn_wait_active_ee_empty’ [-Wmissing-prototypes]
drivers/block/drbd/drbd_receiver.c:3259:21: warning: no previous prototype for ‘drbd_crypto_alloc_digest_safe’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
drivers/block/drbd/drbd_receiver.c