mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 21:18:59 +00:00
Fix build warnings
Submitted by: mjacob@
This commit is contained in:
parent
cba882dfcc
commit
c0fdfb956d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170789
@ -112,8 +112,9 @@ static __inline void reg_block_dump(struct adapter *ap, uint8_t *buf, unsigned i
|
||||
static void cxgb_get_regs(adapter_t *sc, struct ifconf_regs *regs, uint8_t *buf);
|
||||
static int cxgb_get_regs_len(void);
|
||||
static int offload_open(struct port_info *pi);
|
||||
#ifdef notyet
|
||||
static int offload_close(struct toedev *tdev);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
static device_method_t cxgb_controller_methods[] = {
|
||||
@ -1346,7 +1347,7 @@ out:
|
||||
}
|
||||
return (err);
|
||||
}
|
||||
|
||||
#ifdef notyet
|
||||
static int
|
||||
offload_close(struct toedev *tdev)
|
||||
{
|
||||
@ -1370,6 +1371,7 @@ offload_close(struct toedev *tdev)
|
||||
cxgb_offload_deactivate(adapter);
|
||||
return (0);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
cxgb_init(void *arg)
|
||||
|
@ -707,6 +707,7 @@ int
|
||||
t3_sge_init_port(struct port_info *p)
|
||||
{
|
||||
TASK_INIT(&p->timer_reclaim_task, 0, sge_timer_reclaim, p);
|
||||
return (0);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user