net: stmmac: intel: remove unnecessary field struct plat_stmmacenet_data::ext_snapsho...
authorJohannes Zink <j.zink@pengutronix.de>
Wed, 18 Oct 2023 07:09:55 +0000 (09:09 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 19 Oct 2023 11:01:33 +0000 (13:01 +0200)
commit1dbfe73bd648bdc3a2d8c9e5b23ae70e3333b592
tree7db35fca1fe0a04372053d1238507733cef93b02
parent7e62ac24b57a3800959a47bb2099e063f7bc01f2
net: stmmac: intel: remove unnecessary field struct plat_stmmacenet_data::ext_snapshot_num

Do not store bitmask for enabling AUX_SNAPSHOT0. The previous commit
("net: stmmac: fix PPS capture input index") takes care of calculating
the proper bit mask from the request data's extts.index field, which is
0 if not explicitly specified otherwise.

Signed-off-by: Johannes Zink <j.zink@pengutronix.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
include/linux/stmmac.h