]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Cleanup an unnecessary variable initialization
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 16 Apr 2019 17:24:26 +0000 (10:24 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 May 2019 17:51:53 +0000 (10:51 -0700)
commitf2b3a1aa8c6f361dc25e9b6fc7184dea29a39e82
tree6addbc8750f81b673dcd758c9f8f355d054e4c64
parent105c99c103b1f323865c8a96f53c34b032d9396f
ice: Cleanup an unnecessary variable initialization

Commit 3463688e6ced ("ice: Add more validation in ice_vc_cfg_irq_map_msg")
added an assignment of vsi making the assignment during declaration
unnecessary.

Also, cleanup the declaration and assignment of irqmap_info to not use two
lines in the variable declaration section.

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>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c