diff options
author | Andy Grover <agrover@redhat.com> | 2013-10-09 14:05:56 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-10-16 16:35:02 -0400 |
commit | d80e224dd52dfc448e820aefa5f86c441ab76e1a (patch) | |
tree | 515f20fb3b8a16b3b7d491054e90d8baa1a7e2da /drivers/usb | |
parent | 6b378382396feb02c79ad562a01955df0529df45 (diff) |
target: Remove TF_CIT_TMPL macro
Remove a lingering macro that just hid a dereference.
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/usb')
-rw-r--r-- | drivers/usb/gadget/tcm_usb_gadget.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/usb/gadget/tcm_usb_gadget.c b/drivers/usb/gadget/tcm_usb_gadget.c index 0ff33396eef3..9d89905e2318 100644 --- a/drivers/usb/gadget/tcm_usb_gadget.c +++ b/drivers/usb/gadget/tcm_usb_gadget.c | |||
@@ -1923,15 +1923,15 @@ static int usbg_register_configfs(void) | |||
1923 | } | 1923 | } |
1924 | 1924 | ||
1925 | fabric->tf_ops = usbg_ops; | 1925 | fabric->tf_ops = usbg_ops; |
1926 | TF_CIT_TMPL(fabric)->tfc_wwn_cit.ct_attrs = usbg_wwn_attrs; | 1926 | fabric->tf_cit_tmpl.tfc_wwn_cit.ct_attrs = usbg_wwn_attrs; |
1927 | TF_CIT_TMPL(fabric)->tfc_tpg_base_cit.ct_attrs = usbg_base_attrs; | 1927 | fabric->tf_cit_tmpl.tfc_tpg_base_cit.ct_attrs = usbg_base_attrs; |
1928 | TF_CIT_TMPL(fabric)->tfc_tpg_attrib_cit.ct_attrs = NULL; | 1928 | fabric->tf_cit_tmpl.tfc_tpg_attrib_cit.ct_attrs = NULL; |
1929 | TF_CIT_TMPL(fabric)->tfc_tpg_param_cit.ct_attrs = NULL; | 1929 | fabric->tf_cit_tmpl.tfc_tpg_param_cit.ct_attrs = NULL; |
1930 | TF_CIT_TMPL(fabric)->tfc_tpg_np_base_cit.ct_attrs = NULL; | 1930 | fabric->tf_cit_tmpl.tfc_tpg_np_base_cit.ct_attrs = NULL; |
1931 | TF_CIT_TMPL(fabric)->tfc_tpg_nacl_base_cit.ct_attrs = NULL; | 1931 | fabric->tf_cit_tmpl.tfc_tpg_nacl_base_cit.ct_attrs = NULL; |
1932 | TF_CIT_TMPL(fabric)->tfc_tpg_nacl_attrib_cit.ct_attrs = NULL; | 1932 | fabric->tf_cit_tmpl.tfc_tpg_nacl_attrib_cit.ct_attrs = NULL; |
1933 | TF_CIT_TMPL(fabric)->tfc_tpg_nacl_auth_cit.ct_attrs = NULL; | 1933 | fabric->tf_cit_tmpl.tfc_tpg_nacl_auth_cit.ct_attrs = NULL; |
1934 | TF_CIT_TMPL(fabric)->tfc_tpg_nacl_param_cit.ct_attrs = NULL; | 1934 | fabric->tf_cit_tmpl.tfc_tpg_nacl_param_cit.ct_attrs = NULL; |
1935 | ret = target_fabric_configfs_register(fabric); | 1935 | ret = target_fabric_configfs_register(fabric); |
1936 | if (ret < 0) { | 1936 | if (ret < 0) { |
1937 | printk(KERN_ERR "target_fabric_configfs_register() failed" | 1937 | printk(KERN_ERR "target_fabric_configfs_register() failed" |