diff options
| author | 2026-04-01 14:57:11 +0200 | |
|---|---|---|
| committer | 2026-04-27 05:01:51 -0600 | |
| commit | 62cf6eb023a89dee27e2413c5a503468e07e0f4a (patch) | |
| tree | 4ea148e76f3a6cfe97dc1afd8be05dcd796a57eb /tools/lib/python/kdoc/python_version.py | |
| parent | staging: most: dim2: remove unnecessary NULL check in try_start_dim_transfer() (diff) | |
staging: most/net: remove dead code from skb_to_mamac() and skb_to_mep()
The overflow checks in skb_to_mamac() and skb_to_mep() are always false:
mdp_len = (skb->len - ETH_HLEN) + MDP_HDR_LEN = skb->len + 2
mep_len = skb->len + MEP_HDR_LEN = skb->len + 8
Remove these checks to clean up the code.
Signed-off-by: Hadi Chokr <hadichokr@icloud.com>
Link: https://patch.msgid.link/20260401125711.80822-1-hadichokr@icloud.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
