diff options
author | Tony Nguyen <[email protected]> | 2019-11-08 06:23:25 -0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-11-22 13:15:12 -0800 |
commit | 9efe35d0db84cb7189e4a2c3d6a50eefd4380ff9 (patch) | |
tree | e7812f5383bf60e1a24d1963ef86a4bfa0602c08 /scripts/gdb/linux/tasks.py | |
parent | 1bc7a4ab85ba0d874b193f2812a5e14e1ec6e9af (diff) |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions