diff options
author | 2022-09-04 16:18:02 +0200 | |
---|---|---|
committer | 2022-09-06 13:55:47 -0700 | |
commit | 1b9e740dd733d1db4e790e94a4e5021ad17d92f7 (patch) | |
tree | 23032f6fa4aeef0ce9436ba6ae68c93e9a5f728f /drivers/net/ethernet/intel/igc | |
parent | ice: add helper function to check FW API version (diff) | |
download | wireguard-linux-1b9e740dd733d1db4e790e94a4e5021ad17d92f7.tar.xz wireguard-linux-1b9e740dd733d1db4e790e94a4e5021ad17d92f7.zip |
ice: switch: Simplify memory allocation
'rbuf' is locale to the ice_get_initial_sw_cfg() function.
There is no point in using devm_kzalloc()/devm_kfree().
use kzalloc()/kfree() instead.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions