OSDN Git Service

i40e: make i40evf_map_rings_to_vectors void
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 22 Aug 2017 10:57:51 +0000 (06:57 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 2 Oct 2017 19:46:35 +0000 (12:46 -0700)
commit1b7b7596aeebc21913bad49eb6a2c364c4b2988a
treea8f523805ec651ade83bdbf723d120247b5f392e
parent5b36e8d04b4439c9ceb814bfdfe1284737f9c632
i40e: make i40evf_map_rings_to_vectors void

This function cannot fail, so why is it returning a value? And why are
we checking it? Why shouldn't we just make it void? Why is this commit
message made up of only questions?

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c