aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-05-12 20:36:12 +0000
committerRafael J. Wysocki <[email protected]>2021-05-17 14:54:01 +0000
commitb15fc7c2c88e7a97fa347446301c37272de20ed5 (patch)
tree5943f74ca5f61ee49c2734622beb3d06c10a4289 /lib/dump_stack.c
parentdrivers: pnp: isapnp: proc.c: Remove unnecessary local variables (diff)
downloadkernel-b15fc7c2c88e7a97fa347446301c37272de20ed5.tar.gz
kernel-b15fc7c2c88e7a97fa347446301c37272de20ed5.zip
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 <[email protected]> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions