summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHadi Chokr <hadichokr@icloud.com>2026-04-01 14:57:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-27 05:01:51 -0600
commit62cf6eb023a89dee27e2413c5a503468e07e0f4a (patch)
tree4ea148e76f3a6cfe97dc1afd8be05dcd796a57eb /tools/perf/scripts/python/bin
parentfde67f5b1fc77f3c6701b31751643c11526927bc (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/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions