summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-11-14 10:14:37 +0000
committerJames Hogan <james.hogan@imgtec.com>2013-11-25 10:50:27 +0000
commitcdf8d75818e3cd30746d38f5fbcdb3745fd267a3 (patch)
tree93066237e17d9f3205a71d9edd72c083e9c84f7d /drivers/platform
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
downloadlinux-cdf8d75818e3cd30746d38f5fbcdb3745fd267a3.tar.bz2
metag: dma: remove dead code in dma_alloc_init()
Meta has 2 levels of page table so the pmd folds into the pud which folds into the pgd. Therefore the !pmd check in dma_alloc_init() is dead code since it essentially checks whether: (init_mm->pgd + 0x770) == 0 Remove the check. Reported-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions