ixgbe: cleanup IXGBE_DESC_UNUSED
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 23 Oct 2013 02:17:52 +0000 (02:17 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 1 Nov 2013 13:20:10 +0000 (06:20 -0700)
commitf880d07bc5bc9f453be7b1fc9c1a34853719d148
treef67be066469daa9497630d7bbb355d2ea1d90f08
parentfb44519de929d1d9bba967645c6d9def8784d857
ixgbe: cleanup IXGBE_DESC_UNUSED

This patch just replaces the IXGBE_DESC_UNUSED macro with a like named
inline function ixgbevf_desc_unused. The inline function makes the logic
a bit more readable.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c