Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333018
b: refs/heads/master
c: 283669d
h: refs/heads/master
v: v3
  • Loading branch information
Andy Grover authored and Nicholas Bellinger committed Sep 17, 2012
1 parent 94552e2 commit 7a693af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 593e909166c884077b0f56274a97a8e90a0926af
refs/heads/master: 283669d282836c5b96faca9bcca184efb9618975
4 changes: 1 addition & 3 deletions trunk/drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
#include "target_core_pr.h"
#include "target_core_ua.h"

static int sub_api_initialized;

static struct workqueue_struct *target_completion_wq;
static struct kmem_cache *se_sess_cache;
struct kmem_cache *se_ua_cache;
Expand Down Expand Up @@ -195,6 +193,7 @@ u32 scsi_get_new_index(scsi_index_t type)
void transport_subsystem_check_init(void)
{
int ret;
static int sub_api_initialized;

if (sub_api_initialized)
return;
Expand All @@ -212,7 +211,6 @@ void transport_subsystem_check_init(void)
pr_err("Unable to load target_core_pscsi\n");

sub_api_initialized = 1;
return;
}

struct se_session *transport_init_session(void)
Expand Down

0 comments on commit 7a693af

Please sign in to comment.