diff options
Diffstat (limited to 'drivers/vhost/scsi.c')
-rw-r--r-- | drivers/vhost/scsi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 50dffe83714c..a08472ae5b1b 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c | |||
@@ -285,11 +285,6 @@ static int vhost_scsi_check_false(struct se_portal_group *se_tpg) | |||
285 | return 0; | 285 | return 0; |
286 | } | 286 | } |
287 | 287 | ||
288 | static char *vhost_scsi_get_fabric_name(void) | ||
289 | { | ||
290 | return "vhost"; | ||
291 | } | ||
292 | |||
293 | static char *vhost_scsi_get_fabric_wwn(struct se_portal_group *se_tpg) | 288 | static char *vhost_scsi_get_fabric_wwn(struct se_portal_group *se_tpg) |
294 | { | 289 | { |
295 | struct vhost_scsi_tpg *tpg = container_of(se_tpg, | 290 | struct vhost_scsi_tpg *tpg = container_of(se_tpg, |
@@ -2289,8 +2284,7 @@ static struct configfs_attribute *vhost_scsi_wwn_attrs[] = { | |||
2289 | 2284 | ||
2290 | static const struct target_core_fabric_ops vhost_scsi_ops = { | 2285 | static const struct target_core_fabric_ops vhost_scsi_ops = { |
2291 | .module = THIS_MODULE, | 2286 | .module = THIS_MODULE, |
2292 | .name = "vhost", | 2287 | .fabric_name = "vhost", |
2293 | .get_fabric_name = vhost_scsi_get_fabric_name, | ||
2294 | .tpg_get_wwn = vhost_scsi_get_fabric_wwn, | 2288 | .tpg_get_wwn = vhost_scsi_get_fabric_wwn, |
2295 | .tpg_get_tag = vhost_scsi_get_tpgt, | 2289 | .tpg_get_tag = vhost_scsi_get_tpgt, |
2296 | .tpg_check_demo_mode = vhost_scsi_check_true, | 2290 | .tpg_check_demo_mode = vhost_scsi_check_true, |