summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPrithvi Tambewagh <activprithvi@gmail.com>2026-04-09 19:20:24 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-27 05:01:54 -0600
commit5e49201454f366f81785518a7050de9128ebb9f1 (patch)
treedf4ba8b1a3f7be068dd73f1cfaf1b59e1b7a5938 /tools/perf/scripts/python
parentc38b274967a769d8e53e2a908d94e16991e808e4 (diff)
staging: rtl8723bs: simplify boolean return in IsFrameTypeCtrl()
Replace the simple if-else statement which checked value of GetFrameType(pframe), if equal to WIFI_CTRL_TYPE, function IsFrameTypeCtrl() returned true else false, with a single return statement returning true only if GetFrameType(pframe) == WIFI_CTRL_TYPE otherwise returns false. Signed-off-by: Prithvi Tambewagh <activprithvi@gmail.com> Reviewed-by: Luka Gejak <luka.gejak@linux.dev> Link: https://patch.msgid.link/20260409135026.137904-4-activprithvi@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions