mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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>
This commit is contained in:
parent
e8a7e48bb2
commit
66bde0b70a
1 changed files with 0 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue