diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index bfcdecb5d87a16ad9af33dace1d9902d9d9823d2..f5939999cb6502b171cd6deb13eab1410f3f6dce 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -610,8 +610,8 @@ static inline int dmaengine_device_control(struct dma_chan *chan, { if (chan->device->device_control) return chan->device->device_control(chan, cmd, arg); - else - return -ENOSYS; + + return -ENOSYS; } static inline int dmaengine_slave_config(struct dma_chan *chan,