Re-unbreak smartpqi(4) GCC build
Like r333085, remove redundant declarations. Redundant declarations were re-introduced in r336201. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
5044679262
commit
f434f7df79
@ -1198,7 +1198,3 @@ void deregister_sim(struct pqisrc_softstate *softs)
|
||||
|
||||
DBG_FUNC("OUT\n");
|
||||
}
|
||||
|
||||
static void smartpqi_cam_action(struct cam_sim *, union ccb *);
|
||||
static void smartpqi_poll(struct cam_sim *);
|
||||
|
||||
|
@ -166,10 +166,6 @@ static int smartpqi_ioctl(struct cdev *cdev, u_long cmd, caddr_t udata,
|
||||
return error;
|
||||
}
|
||||
|
||||
static d_open_t smartpqi_open;
|
||||
static d_ioctl_t smartpqi_ioctl;
|
||||
static d_close_t smartpqi_close;
|
||||
|
||||
static struct cdevsw smartpqi_cdevsw =
|
||||
{
|
||||
.d_version = D_VERSION,
|
||||
|
@ -482,12 +482,6 @@ smartpqi_shutdown(void *arg)
|
||||
return rval;
|
||||
}
|
||||
|
||||
static int smartpqi_probe(device_t dev);
|
||||
static int smartpqi_attach(device_t dev);
|
||||
static int smartpqi_detach(device_t dev);
|
||||
static int smartpqi_suspend(device_t dev);
|
||||
static int smartpqi_resume(device_t dev);
|
||||
|
||||
/*
|
||||
* PCI bus interface.
|
||||
*/
|
||||
|
@ -238,21 +238,17 @@ void os_stop_heartbeat_timer(pqisrc_softstate_t *);
|
||||
void os_start_heartbeat_timer(void *);
|
||||
|
||||
/* FreeBSD_cam.c */
|
||||
int pqisrc_scsi_setup(struct pqisrc_softstate *);
|
||||
void pqisrc_scsi_cleanup(struct pqisrc_softstate *);
|
||||
uint8_t os_get_task_attr(rcb_t *);
|
||||
void os_wellness_periodic(void *);
|
||||
void smartpqi_target_rescan(struct pqisrc_softstate *);
|
||||
|
||||
/* FreeBSD_intr.c FreeBSD_main.c */
|
||||
void pqisrc_event_worker(void *, int);
|
||||
void os_add_device(pqisrc_softstate_t *, pqi_scsi_dev_t *);
|
||||
void os_remove_device(pqisrc_softstate_t *, pqi_scsi_dev_t *);
|
||||
void os_io_response_success(rcb_t *);
|
||||
void os_aio_response_error(rcb_t *, aio_path_error_info_elem_t *);
|
||||
void smartpqi_adjust_queue_depth(struct cam_path *, uint32_t );
|
||||
void os_raid_response_error(rcb_t *, raid_path_error_info_elem_t *);
|
||||
void os_wellness_periodic(void *);
|
||||
void os_reset_rcb( rcb_t *);
|
||||
int register_sim(struct pqisrc_softstate *, int);
|
||||
void deregister_sim(struct pqisrc_softstate *);
|
||||
|
Loading…
Reference in New Issue
Block a user