[Intel-wired-lan] [PATCH S19 02/15] ice: Cleanup an unnecessary variable initialization

Bowers, AndrewX andrewx.bowers at intel.com
Fri Apr 26 21:51:01 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Tuesday, April 16, 2019 10:24 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S19 02/15] ice: Cleanup an unnecessary
> variable initialization
> 
> From: Bruce Allan <bruce.w.allan at intel.com>
> 
> 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 at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> [Anirudh Venkataramanan <anirudh.venkataramanan at intel.com> cleaned
> up commit message]
> ---
>  drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list