aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_internal.h
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2014-06-30 16:39:43 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2014-10-01 14:38:41 -0700
commitcc83881f2c57caaf4b14adaffa65595640a59661 (patch)
treefc1bc9d52219265e5f82e15e6174ef46fe833971 /drivers/target/target_core_internal.h
parenttarget: fix unused shift in core_scsi3_pri_report_capabilities (diff)
downloadlinux-dev-cc83881f2c57caaf4b14adaffa65595640a59661.tar.xz
linux-dev-cc83881f2c57caaf4b14adaffa65595640a59661.zip
target: core_tpg_post_dellun can return void
Nothing in it can raise an error. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_internal.h')
-rw-r--r--drivers/target/target_core_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h
index de9cab708f45..463fddcd0ef6 100644
--- a/drivers/target/target_core_internal.h
+++ b/drivers/target/target_core_internal.h
@@ -83,7 +83,7 @@ struct se_lun *core_tpg_alloc_lun(struct se_portal_group *, u32);
int core_tpg_add_lun(struct se_portal_group *, struct se_lun *,
u32, struct se_device *);
struct se_lun *core_tpg_pre_dellun(struct se_portal_group *, u32 unpacked_lun);
-int core_tpg_post_dellun(struct se_portal_group *, struct se_lun *);
+void core_tpg_post_dellun(struct se_portal_group *, struct se_lun *);
/* target_core_transport.c */
extern struct kmem_cache *se_tmr_req_cache;