Commit 83ce95ef authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Greg Kroah-Hartman

serial: 8250_dw: cleanup dw8250_idma_filter

Remove the extra return.
Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1edb3cf2
...@@ -294,12 +294,7 @@ static void dw8250_setup_port(struct uart_8250_port *up) ...@@ -294,12 +294,7 @@ static void dw8250_setup_port(struct uart_8250_port *up)
static bool dw8250_idma_filter(struct dma_chan *chan, void *param) static bool dw8250_idma_filter(struct dma_chan *chan, void *param)
{ {
struct device *dev = param; return param == chan->device->dev->parent;
if (dev != chan->device->dev->parent)
return false;
return true;
} }
static void dw8250_quirks(struct uart_port *p, struct dw8250_data *data) static void dw8250_quirks(struct uart_port *p, struct dw8250_data *data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment