]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[SCSI] iscsi transport: make 2 functions static
authorAdrian Bunk <bunk@kernel.org>
Wed, 13 Feb 2008 21:30:17 +0000 (23:30 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 22 Feb 2008 15:08:12 +0000 (09:08 -0600)
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>
drivers/scsi/scsi_transport_iscsi.c

index fac7534f3ec4a88237c7e7b6ca25d48ebb7034d6..9981682d5302d5ea0bbbea58f181fb75458345f2 100644 (file)
@@ -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;
@@ -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);