commit | b15fc7c2c88e7a97fa347446301c37272de20ed5 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Wed May 12 22:36:12 2021 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon May 17 16:54:01 2021 +0200 |
tree | 5943f74ca5f61ee49c2734622beb3d06c10a4289 | |
parent | daadabfbd36d57a158623fa81585a4e9aa954c53 [diff] |
PNP: Remove pnp_alloc() The kernel will complain anyway if it runs out of memory, so it is not necessary to print an extra error message when that happens and kzalloc() can be called directly instead of pnp_alloc() which then becomes redundant and can be dropped. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>