ioat2: kill pending flag
authorDan Williams <dan.j.williams@intel.com>
Wed, 3 Mar 2010 18:47:43 +0000 (11:47 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 3 Mar 2010 18:47:43 +0000 (11:47 -0700)
commit281befa5592b0c5f9a3856b5666c62ac66d3d9ee
treea0e7ca560fd1f2c43d3352786b0a5317af97ccf7
parentb372ec2d900a5b50e47ef9e9624536ad146236be
ioat2: kill pending flag

The pending == 2 case no longer exists in the driver so, we can use
ioat2_ring_pending() outside the lock to determine if there might be any
descriptors in the ring that the hardware has not seen.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma_v2.c
drivers/dma/ioat/dma_v2.h