[SCSI] iscsi transport: make 2 functions static

This patch makes the following needlessly global functions static:
- __iscsi_unblock_session()
- iscsi_session_state_name()

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
Adrian Bunk 2008-02-13 23:30:17 +02:00 committed by James Bottomley
parent 4d9db01ef8
commit 3b0f208a58

View File

@ -231,7 +231,7 @@ static struct {
{ ISCSI_SESSION_FREE, "FREE" }, { ISCSI_SESSION_FREE, "FREE" },
}; };
const char *iscsi_session_state_name(int state) static const char *iscsi_session_state_name(int state)
{ {
int i; int i;
char *name = NULL; char *name = NULL;
@ -373,7 +373,7 @@ static void session_recovery_timedout(struct work_struct *work)
scsi_target_unblock(&session->dev); scsi_target_unblock(&session->dev);
} }
void __iscsi_unblock_session(struct iscsi_cls_session *session) static void __iscsi_unblock_session(struct iscsi_cls_session *session)
{ {
if (!cancel_delayed_work(&session->recovery_work)) if (!cancel_delayed_work(&session->recovery_work))
flush_workqueue(iscsi_eh_timer_workq); flush_workqueue(iscsi_eh_timer_workq);