diff options
author | Jakub Kicinski <[email protected]> | 2024-08-01 09:34:01 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-02 16:03:51 -0700 |
commit | 49675f5bdf9ae2624b430dafda4cb29024521625 (patch) | |
tree | 945fe7ffbd577696375a585a3d406bd61cd6cbd3 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | ce21e520fdef49d92b01ce93cfc3d88906d01618 (diff) |
net: remove IFF_* re-definition
We re-define values of enum netdev_priv_flags as preprocessor
macros with the same name. I guess this was done to avoid breaking
out of tree modules which may use #ifdef X for kernel compatibility?
Commit 7aa98047df95 ("net: move net_device priv_flags out from UAPI")
which added the enum doesn't say. In any case, the flags with defines
are quite old now, and defines for new flags don't get added.
OOT drivers have to resort to code greps for compat detection, anyway.
Let's delete these defines, save LoC, help LXR link to the right place.
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions