dma/intel_mid_dma: remove unneeded null check
commit66bde0b70aa2e348ac2c9b9626743c1402b9d466
authorDan Carpenter <error27@gmail.com>
Thu, 28 Oct 2010 13:41:56 +0000 (28 15:41 +0200)
committerDan Williams <dan.j.williams@intel.com>
Fri, 3 Dec 2010 09:05:24 +0000 (3 01:05 -0800)
tree6a3a9413f3fe14308dcd8a068fbc55c9729adcf9
parente8a7e48bb248a1196484d3f8afa53bded2b24e71
dma/intel_mid_dma: remove unneeded null check

Smatch complains because we dereference "mid" before checking it.  It
turns out that "mid" is always a valid pointer here so we can just
remove the check.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/intel_mid_dma.c