Fix "set but not used" for hptmv
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
dcf4745271
commit
f25d575762
@ -2084,10 +2084,7 @@ hpt_detach(device_t dev)
|
||||
static void
|
||||
hpt_poll(struct cam_sim *sim)
|
||||
{
|
||||
IAL_ADAPTER_T *pAdapter;
|
||||
|
||||
pAdapter = cam_sim_softc(sim);
|
||||
|
||||
hpt_intr_locked((void *)cam_sim_softc(sim));
|
||||
}
|
||||
|
||||
|
@ -379,7 +379,6 @@ get_disk_name(char *name, PDevice pDev)
|
||||
static int
|
||||
hpt_copy_info(HPT_GET_INFO *pinfo, char *fmt, ...)
|
||||
{
|
||||
int printfretval;
|
||||
va_list ap;
|
||||
|
||||
if(fmt == NULL) {
|
||||
@ -389,7 +388,7 @@ hpt_copy_info(HPT_GET_INFO *pinfo, char *fmt, ...)
|
||||
else
|
||||
{
|
||||
va_start(ap, fmt);
|
||||
printfretval = vsnprintf(hptproc_buffer, sizeof(hptproc_buffer), fmt, ap);
|
||||
vsnprintf(hptproc_buffer, sizeof(hptproc_buffer), fmt, ap);
|
||||
va_end(ap);
|
||||
return(SYSCTL_OUT(pinfo, hptproc_buffer, strlen(hptproc_buffer)));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user