diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2022-08-13 17:38:45 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-24 09:40:10 +0200 |
| commit | 8519635cb292ee4e804e3f465a54b13447180366 (patch) | |
| tree | 50087eecd8304dee22c72f2f5d25dd6b20d4bd53 /scripts/gdb/linux/proc.py | |
| parent | e0ae3048b3db5a380a7196f58d5eeebb6770bad2 (diff) | |
media: atomisp: hmm_bo: Simplify alloc_private_pages()
Since lack_mem starts initialized to true, alloc_private_pages() will
always set order to HMM_MIN_ORDER aka 0 / will always alloc 1 page at
a time.
So all the magic to decrease order if allocs fail is not necessary
and can be removed.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
