summaryrefslogtreecommitdiff
path: root/fs/udf/super.c
diff options
context:
space:
mode:
authorAlexander Lobakin <aleksander.lobakin@intel.com>2024-06-20 15:53:41 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-07-10 10:41:06 -0700
commit14f662b43bf8c765114f73d184af2702b2280436 (patch)
treee9ed7354b125a7d0478882449fbac02156f80234 /fs/udf/super.c
parent5a816aae2d463d74882e21672ac5366573b0c511 (diff)
idpf: merge singleq and splitq &net_device_ops
It makes no sense to have a second &net_device_ops struct (800 bytes of rodata) with only one difference in .ndo_start_xmit, which can easily be just one `if`. This `if` is a drop in the ocean and you won't see any difference. Define unified idpf_xmit_start(). The preparation for sending is the same, just call either idpf_tx_splitq_frame() or idpf_tx_singleq_frame() depending on the active model to actually map and send the skb. Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'fs/udf/super.c')
0 files changed, 0 insertions, 0 deletions