dma/timberdale: simplify conditional
authorNicolas Kaiser <nikai@nikai.net>
Thu, 7 Oct 2010 22:48:01 +0000 (00:48 +0200)
committerDan Williams <dan.j.williams@intel.com>
Tue, 19 Oct 2010 22:20:11 +0000 (15:20 -0700)
commit9cb047d4d19fc15791a64d900d483405eae6200d
tree6a3655d0c4ddfe76c8f0bbdebe070d40238d49dc
parent5fc6d897fde352bad5db5767e7260741a8cdd9e9
dma/timberdale: simplify conditional

Simplify: ((a && b) || (!a && !b)) => (a == b)

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Acked-by: Jack Stone <jwjstone@fastmail.fm>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/timb_dma.c