diff options
author | Tony Nguyen <anthony.l.nguyen@intel.com> | 2019-11-08 06:23:25 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-11-22 13:15:12 -0800 |
commit | 9efe35d0db84cb7189e4a2c3d6a50eefd4380ff9 (patch) | |
tree | e7812f5383bf60e1a24d1963ef86a4bfa0602c08 /tools/build/Build | |
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 <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/build/Build')
0 files changed, 0 insertions, 0 deletions