Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/ice
Bruce Allan c6dfd690f1 ice: sizeof(<type>) should be avoided
With sizeof(), it is preferable to use the variable of type <type> instead
of sizeof(<type>).

There are multiple places where a temporary variable is used to hold a
'size' value which is then used for a subsequent alloc/memset. Get rid
of the temporary variable by calculating size as part of the alloc/memset
statement.

Also remove unnecessary type-cast.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-02-25 08:56:01 -08:00
..
2018-11-20 11:39:04 -08:00
2018-10-24 13:56:37 -07:00
2018-03-26 09:59:08 -07:00
2019-01-15 12:38:44 -08:00
2019-01-15 12:38:44 -08:00
2019-02-25 08:56:01 -08:00
2018-10-03 07:42:30 -07:00