OSDN Git Service

dmaengine: ioatdma: fix coccinelle warning
authorDave Jiang <dave.jiang@intel.com>
Thu, 20 Aug 2015 15:44:14 +0000 (08:44 -0700)
committerVinod Koul <vinod.koul@intel.com>
Fri, 21 Aug 2015 08:34:24 +0000 (14:04 +0530)
commit64f1d0ffbaaccf2ddaf02d3ebf67bf9044cb4db4
tree67cd5d585e1830e822d7ce93b5a197275e29d7ac
parentaaecdebc5855b77e2120d11c750630a3e60ffb10
dmaengine: ioatdma: fix coccinelle warning

Simplifying the end return. This existed in the original code but was
flagged when refactoring of the code made it appear it's new.

coccinelle warnings: (new ones prefixed by >>)

>> drivers/dma/ioat/init.c:1018:1-3: WARNING: end returns can be simpified

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/init.c