aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2015-12-27 18:19:19 -0500
committerDavid S. Miller <davem@davemloft.net>2015-12-28 00:57:28 -0500
commitedd0c2cc2b73ff21f356d6cbd3b5bf83e692ea9d (patch)
treef53afbd27401a0fe0be979dcc2ec350966b09760 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbnxt_en: support hwrm_func_drv_unrgtr command (diff)
downloadlinux-dev-edd0c2cc2b73ff21f356d6cbd3b5bf83e692ea9d.tar.xz
linux-dev-edd0c2cc2b73ff21f356d6cbd3b5bf83e692ea9d.zip
bnxt_en: Optimize ring alloc and ring free functions.
Remove the unnecessary "if" statement before the "for" statement: if (x) { for (i = 0; i < x; i++) ... } Also, change the ring free function to return void as it only returns 0. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions