diff options
| author | Wei Fang <wei.fang@nxp.com> | 2025-08-29 08:06:12 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-09-02 14:13:34 +0300 |
| commit | d889abaac29975e1a19d92d33395edb81723c33e (patch) | |
| tree | 30e276f5b03760260b9e4ff812d67568b52cd313 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 27dd0eca934763cb8b813cc13a86900302470cc7 (diff) | |
| download | linux-d889abaac29975e1a19d92d33395edb81723c33e.tar.xz | |
net: enetc: remove unnecessary CONFIG_FSL_ENETC_PTP_CLOCK check
The ENETC_F_RX_TSTAMP flag of priv->active_offloads can only be set when
CONFIG_FSL_ENETC_PTP_CLOCK is enabled. Similarly, rx_ring->ext_en can
only be set when CONFIG_FSL_ENETC_PTP_CLOCK is enabled as well. So it is
safe to remove unnecessary CONFIG_FSL_ENETC_PTP_CLOCK check.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20250829050615.1247468-12-wei.fang@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
