Skip to content
Commit 04cbaa6c authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Tony Nguyen
Browse files

ice: Simplify memory allocation in ice_sched_init_port()



'buf' is locale to the ice_sched_init_port() function.
There is no point in using devm_kzalloc()/devm_kfree().

use kzalloc()/kfree() instead.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 1b9e740d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment