summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorAmir Vadai <amir@vadai.me>2016-03-08 12:42:31 +0200
committerDavid S. Miller <davem@davemloft.net>2016-03-10 16:24:02 -0500
commit00175aec941e9c306d8a5ce930b2d91f7c04468c (patch)
treed269c99cb155b40765f5687154098063e72f56ae /include/drm/ttm
parent8de2d793daf784f8f109565bcc023a6d198bad85 (diff)
downloadlinux-00175aec941e9c306d8a5ce930b2d91f7c04468c.tar.gz
linux-00175aec941e9c306d8a5ce930b2d91f7c04468c.tar.bz2
linux-00175aec941e9c306d8a5ce930b2d91f7c04468c.zip
net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef
Introduce the macros tc_no_actions and tc_for_each_action to make code clearer. Extracted struct tc_action out of the ifdef to make calls to is_tcf_gact_shot() and similar functions valid, even when it is a nop. Acked-by: Jiri Pirko <jiri@mellanox.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Suggested-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Amir Vadai <amir@vadai.me> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/drm/ttm')
0 files changed, 0 insertions, 0 deletions