aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMiles Chen <miles.chen@mediatek.com>2017-11-15 17:32:10 -0800
committerMister Oyster <oysterized@gmail.com>2017-12-02 17:28:57 +0100
commited194fe1ab6b1035dc9e589e920af8b293364131 (patch)
tree4c600ebe0f0c0677943027e86ab3c53d288a5e98 /drivers
parent4ce69c1f6d3602334c5febfd3ae31ccc86da776d (diff)
mm/slob.c: remove an unnecessary check for __GFP_ZERO
Current flow guarantees a valid pointer when handling the __GFP_ZERO case. So remove the unnecessary NULL pointer check. Link: http://lkml.kernel.org/r/1507203141-11959-1-git-send-email-miles.chen@mediatek.com Signed-off-by: Miles Chen <miles.chen@mediatek.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions