Page MenuHomeFreeBSD

Fix gcc warnings in sys/dev/cxgbe/t4_main.c
ClosedPublic

Authored by dim on Mar 12 2016, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 23, 12:58 PM
Unknown Object (File)
Aug 30 2025, 7:23 AM
Unknown Object (File)
Aug 29 2025, 7:17 PM
Unknown Object (File)
Jul 29 2025, 8:56 AM
Unknown Object (File)
Jul 26 2025, 10:05 PM
Unknown Object (File)
Jun 30 2025, 9:59 AM
Unknown Object (File)
Jun 29 2025, 8:08 AM
Unknown Object (File)
Jun 28 2025, 7:40 PM
Subscribers

Details

Summary

Fix the following gcc warnings on sparc64, when TCP_OFFLOAD is not
defined:

sys/dev/cxgbe/t4_main.c:7474: warning: 'sysctl_tp_tick' defined but not used
sys/dev/cxgbe/t4_main.c:7505: warning: 'sysctl_tp_dack_timer' defined but not used
sys/dev/cxgbe/t4_main.c:7519: warning: 'sysctl_tp_timer' defined but not used

This just adds a bunch of #ifdef TCP_OFFLOAD in the right places.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dim retitled this revision from to Fix gcc warnings in sys/dev/cxgbe/t4_main.c.
dim updated this object.
dim edited the test plan for this revision. (Show Details)
dim added a reviewer: np.
dim added a subscriber: bz.
np edited edge metadata.
This revision is now accepted and ready to land.Mar 12 2016, 5:00 PM
This revision was automatically updated to reflect the committed changes.