Skip to content

Commit

Permalink
[SCSI] iscsi transport: make 2 functions static
Browse files Browse the repository at this point in the history
This patch makes the following needlessly global functions static:
- __iscsi_unblock_session()
- iscsi_session_state_name()

Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Mike Christie <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
AdrianBunk authored and James Bottomley committed Feb 22, 2008
1 parent 4d9db01 commit 3b0f208
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/scsi_transport_iscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static struct {
{ ISCSI_SESSION_FREE, "FREE" },
};

const char *iscsi_session_state_name(int state)
static const char *iscsi_session_state_name(int state)
{
int i;
char *name = NULL;
Expand Down Expand Up @@ -373,7 +373,7 @@ static void session_recovery_timedout(struct work_struct *work)
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))
flush_workqueue(iscsi_eh_timer_workq);
Expand Down

0 comments on commit 3b0f208

Please sign in to comment.