Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused code.

Reviewed by:	ken
  • Loading branch information...
commit 693df692467c616cfcb266379e935df20b66f4c8 1 parent fc0ee61
@trasz trasz authored
Showing with 0 additions and 30 deletions.
  1. +0 −30 sys/cam/ctl/scsi_ctl.c
View
30 sys/cam/ctl/scsi_ctl.c
@@ -246,36 +246,6 @@ MODULE_DEPEND(ctlfe, cam, 1, 1, 1);
extern struct ctl_softc *control_softc;
extern int ctl_disable;
-#ifdef seems_unused
-int
-ctlfeinitialize(void)
-{
- cam_status status;
-
- /* Don't initialize if we're disabled */
- if (ctl_disable != 0)
- return (0);
-
- STAILQ_INIT(&ctlfe_softc_list);
-
- mtx_init(&ctlfe_list_mtx, ctlfe_mtx_desc, NULL, MTX_DEF);
-
- xpt_lock_buses();
- periphdriver_register(&ctlfe_driver);
- xpt_unlock_buses();
-
- status = xpt_register_async(AC_PATH_REGISTERED | AC_PATH_DEREGISTERED |
- AC_CONTRACT, ctlfeasync, NULL, NULL);
-
- if (status != CAM_REQ_CMP) {
- printf("ctl: Failed to attach async callback due to CAM "
- "status 0x%x!\n", status);
- }
-
- return (0);
-}
-#endif
-
void
ctlfeshutdown(void)
{
Please sign in to comment.
Something went wrong with that request. Please try again.