summaryrefslogtreecommitdiffstats
path: root/firmware/vicam
diff options
context:
space:
mode:
authorRickard Strandqvist2014-05-30 01:11:58 +0200
committerJames Hogan2014-06-16 17:22:44 +0200
commit8bc613befaec184b59bf3405e8d06fafdc209484 (patch)
tree0ff4e68bb6f13879d00303c6731f406cf4682fc5 /firmware/vicam
parentLinux 3.16-rc1 (diff)
downloadkernel-qcow2-linux-8bc613befaec184b59bf3405e8d06fafdc209484.tar.gz
kernel-qcow2-linux-8bc613befaec184b59bf3405e8d06fafdc209484.tar.xz
kernel-qcow2-linux-8bc613befaec184b59bf3405e8d06fafdc209484.zip
metag: hugetlbpage: Remove null pointer checks that could never happen
There are inconsistent NULL checks in hugetlb_get_unmapped_area_existing(). The last conditional block in the loop checks vma, but vma is dereferenced after that. Due to the checks above however (bearing in mind after_huge is either 0 or 1) vma is guaranteed not to be NULL here, so remove that part of the check. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> [james.hogan@imgtec.com: remove brackets and expand commit message] Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'firmware/vicam')
0 files changed, 0 insertions, 0 deletions