smartpqi(4): Unbreak GCC build

Remove redundant declarations.
This commit is contained in:
Conrad Meyer 2018-04-28 17:43:20 +00:00
parent c5e105655b
commit 9cf21c2ee1
4 changed files with 0 additions and 24 deletions

View File

@ -1199,7 +1199,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 *);

View File

@ -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,

View File

@ -467,13 +467,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.
*/
@ -496,5 +489,3 @@ static driver_t smartpqi_pci_driver = {
DRIVER_MODULE(smartpqi, pci, smartpqi_pci_driver, pqi_devclass, 0, 0);
MODULE_DEPEND(smartpqi, pci, 1, 1, 1);

View File

@ -131,9 +131,6 @@ int pqisrc_process_event_intr_src(pqisrc_softstate_t *,int);
void pqisrc_ack_all_events(void *arg);
void pqisrc_event_worker(void *, int);
int pqisrc_scsi_setup(struct pqisrc_softstate *);
void pqisrc_scsi_cleanup(struct pqisrc_softstate *);
boolean_t pqisrc_update_scsi_sense(const uint8_t *, int,
struct sense_header_scsi *);
int pqisrc_build_send_raid_request(pqisrc_softstate_t *, pqisrc_raid_req_t *,
@ -180,7 +177,6 @@ int pqisrc_create_op_aio_ibq(pqisrc_softstate_t *, ib_queue_t *);
int pqisrc_create_op_raid_ibq(pqisrc_softstate_t *, ib_queue_t *);
int pqisrc_alloc_and_create_event_queue(pqisrc_softstate_t *);
int pqisrc_alloc_and_create_ib_queues(pqisrc_softstate_t *);
int pqisrc_alloc_and_create_ib_queues(pqisrc_softstate_t *);
int pqisrc_alloc_and_create_ob_queues(pqisrc_softstate_t *);
int pqisrc_process_task_management_response(pqisrc_softstate_t *,
pqi_tmf_resp_t *);
@ -231,10 +227,7 @@ 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 */