]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: gasket: page table: remove dead code in coherent mem alloc
authorTodd Poynor <toddpoynor@google.com>
Mon, 15 Oct 2018 04:59:19 +0000 (21:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Oct 2018 14:30:37 +0000 (16:30 +0200)
commit02d37186331d389bb19257e330c1ed47afe178ba
tree7fb19e499935cea9c3939dd52bbbd501fae61cae
parentb1004491c9c2a62a8ca4d939e35b3c21abc8f28a
staging: gasket: page table: remove dead code in coherent mem alloc

gasket_alloc_coherent_memory() has some unnecessary code related to out
of memory checking that will never hit the condition checked, remove.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_page_table.c