]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Use ring->dev instead of adapter->pdev->dev when updating DCA
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 15 Jul 2011 03:05:46 +0000 (03:05 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:02:52 +0000 (22:02 +0800)
commita0b58d00b5f6bf32ebf0675d2ba8b65d97ce71a1
tree07603d77ba578addc9d9a150fb0af4713363199a
parent69dfbe5ae2f76def553f81e6ba8a48fa21b0a8ce
ixgbe: Use ring->dev instead of adapter->pdev->dev when updating DCA

This change switches us over to using the ring->dev pointer instead of
having to use the adapter->pdev->dev reference.  The advantage to this is
that it is a much shorter route to get the to final needed value.

(cherry picked from commit 263a84e785deb3613bbdd01a071b0bde429c3804)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c