summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTony Nguyen <anthony.l.nguyen@intel.com>2019-11-08 17:23:25 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-11-23 00:15:12 +0300
commit9efe35d0db84cb7189e4a2c3d6a50eefd4380ff9 (patch)
treee7812f5383bf60e1a24d1963ef86a4bfa0602c08 /tools/perf/scripts/python/export-to-postgresql.py
parent1bc7a4ab85ba0d874b193f2812a5e14e1ec6e9af (diff)
downloadlinux-9efe35d0db84cb7189e4a2c3d6a50eefd4380ff9.tar.xz
ice: Do not use devm* functions for local uses
In situations where we alloc and free memory within the same function do not use the devm_* variants; use regular alloc and free functions. Remove any unused vars if there are no usages after these changes. Also, replace an allocate and copy with kmemdup() and remove an unnecessary memset() to 0 after a kzalloc(). Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions