igb/ixgbe: remove return statements for void functions
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 May 2014 08:01:09 +0000 (01:01 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 May 2014 12:28:41 +0000 (05:28 -0700)
Remove useless return statements for void functions which do not need
it.

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
drivers/net/ethernet/intel/igb/e1000_nvm.c
drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c

index 92bcdbe756b2027a57fba9e1903dce1e8e810cdb..e8280d0d7f022942c81d399945259cf4b0a5d1f9 100644 (file)
@@ -798,5 +798,4 @@ etrack_id:
                fw_vers->etrack_id = (eeprom_verh << NVM_ETRACK_SHIFT)
                        | eeprom_verl;
        }
-       return;
 }
index 0ddd9a78e8e124925383c9458c9ec136a52ab04f..15609331ec170ddc6bb9e62c4227107fc6b50cad 100644 (file)
@@ -1278,8 +1278,6 @@ static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb,
        /* Setup Tx packet buffer sizes */
        for (i = 0; i < IXGBE_MAX_PACKET_BUFFERS; i++)
                IXGBE_WRITE_REG(hw, IXGBE_TXPBSIZE(i), IXGBE_TXPBSIZE_40KB);
-
-       return;
 }
 
 static struct ixgbe_mac_operations mac_ops_82598 = {
index 86b00a088d608cdca1782fd8f174352dffc9d455..a689ee0d4bedc2d837d0765b62ab2dd0ffe1d120 100644 (file)
@@ -389,7 +389,6 @@ static void ixgbe_dcb_read_rtrup2tc_82599(struct ixgbe_hw *hw, u8 *map)
        for (i = 0; i < MAX_USER_PRIORITY; i++)
                map[i] = IXGBE_RTRUP2TC_UP_MASK &
                        (reg >> (i * IXGBE_RTRUP2TC_UP_SHIFT));
-       return;
 }
 
 void ixgbe_dcb_read_rtrup2tc(struct ixgbe_hw *hw, u8 *map)