mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
axgbe_setup_sysctl is a nop, remove it and the call to it.
Should we need something like this in the future, we can add it back. Sponsored by: Netflix
This commit is contained in:
parent
ceb246c7b2
commit
1c347de37f
@ -1304,18 +1304,6 @@ xgbe_default_config(struct xgbe_prv_data *pdata)
|
||||
pdata->enable_rss = 1;
|
||||
}
|
||||
|
||||
static void
|
||||
axgbe_setup_sysctl(struct xgbe_prv_data *pdata)
|
||||
{
|
||||
struct sysctl_ctx_list *clist;
|
||||
struct sysctl_oid *parent;
|
||||
struct sysctl_oid_list *top;
|
||||
|
||||
clist = device_get_sysctl_ctx(pdata->dev);
|
||||
parent = device_get_sysctl_tree(pdata->dev);
|
||||
top = SYSCTL_CHILDREN(parent);
|
||||
}
|
||||
|
||||
static int
|
||||
axgbe_if_attach_post(if_ctx_t ctx)
|
||||
{
|
||||
@ -1438,8 +1426,6 @@ axgbe_if_attach_post(if_ctx_t ctx)
|
||||
scctx->isc_max_frame_size = ifp->if_mtu + 18;
|
||||
scctx->isc_min_frame_size = XGMAC_MIN_PACKET;
|
||||
|
||||
axgbe_setup_sysctl(pdata);
|
||||
|
||||
axgbe_sysctl_init(pdata);
|
||||
|
||||
axgbe_pci_init(pdata);
|
||||
|
Loading…
Reference in New Issue
Block a user