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

No differences found