aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_sched.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2022-09-04 14:18:02 +0000
committerTony Nguyen <[email protected]>2022-09-06 20:55:47 +0000
commit1b9e740dd733d1db4e790e94a4e5021ad17d92f7 (patch)
tree23032f6fa4aeef0ce9436ba6ae68c93e9a5f728f /drivers/net/ethernet/intel/ice/ice_sched.c
parentice: add helper function to check FW API version (diff)
downloadkernel-1b9e740dd733d1db4e790e94a4e5021ad17d92f7.tar.gz
kernel-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 <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions