linux/drivers/net/ethernet/intel/ice
Tony Nguyen 9efe35d0db 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>
2019-11-22 13:15:12 -08:00
..
ice.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_adminq_cmd.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_base.c
ice_base.h
ice_common.c ice: Correct capabilities reporting of max TCs 2019-11-22 13:06:34 -08:00
ice_common.h ice: use more accurate ICE_DBG mask types 2019-11-08 12:03:15 -08:00
ice_controlq.c ice: print opcode when printing controlq errors 2019-11-08 12:03:18 -08:00
ice_controlq.h ice: delay less 2019-11-08 12:03:03 -08:00
ice_dcb.c ice: Adjust DCB INIT for SW mode 2019-11-06 16:41:45 -08:00
ice_dcb.h
ice_dcb_lib.c ice: Do not use devm* functions for local uses 2019-11-22 13:15:12 -08:00
ice_dcb_lib.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb_nl.c ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb_nl.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_devids.h
ice_ethtool.c ice: Do not use devm* functions for local uses 2019-11-22 13:15:12 -08:00
ice_flex_pipe.c
ice_flex_pipe.h
ice_flex_type.h
ice_hw_autogen.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_lan_tx_rx.h ice: Update enum ice_flg64_bits to current specification 2019-11-08 12:03:06 -08:00
ice_lib.c ice: Do not use devm* functions for local uses 2019-11-22 13:15:12 -08:00
ice_lib.h ice: Introduce and use ice_vsi_type_str 2019-11-08 12:03:12 -08:00
ice_main.c ice: Do not use devm* functions for local uses 2019-11-22 13:15:12 -08:00
ice_nvm.c ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_nvm.h ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_osdep.h
ice_sched.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-09 11:04:37 -08:00
ice_sched.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sriov.c
ice_sriov.h
ice_status.h
ice_switch.c ice: Refactor removal of VLAN promiscuous rules 2019-11-22 13:15:08 -08:00
ice_switch.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_txrx.c ice: Get rid of ice_cleanup_header 2019-11-06 16:41:45 -08:00
ice_txrx.h
ice_txrx_lib.c
ice_txrx_lib.h
ice_type.h ice: Store number of functions for the device 2019-11-22 13:06:34 -08:00
ice_virtchnl_pf.c ice: Do not use devm* functions for local uses 2019-11-22 13:15:12 -08:00
ice_virtchnl_pf.h ice: Check if VF is disabled for Opcode and other operations 2019-11-08 12:02:54 -08:00
ice_xsk.c
ice_xsk.h
Makefile ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00