diff options
| author | Abinash Singh <abinashsinghlalotra@gmail.com> | 2025-08-25 21:39:39 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-08-31 04:18:27 +0300 |
| commit | d842da6924a9518346a2042db0d24bc77500efae (patch) | |
| tree | acada6490e0ca07cd74b8817c8b9031a318a5400 /tools/perf/scripts/python/libxed.py | |
| parent | b5f717b31b5e478398740db8aee2ecbc4dd72bf3 (diff) | |
| download | linux-d842da6924a9518346a2042db0d24bc77500efae.tar.xz | |
scsi: sd: Remove redundant printk() after kmalloc() failure
The SCSI disk driver prints a warning when kmalloc() fails in
sd_revalidate_disk(). This is redundant because the page allocator
already reports failures unless __GFP_NOWARN is used. Keeping the extra
message only adds noise to the kernel log.
Remove the unnecessary sd_printk() call. Control flow is unchanged.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Abinash Singh <abinashsinghlalotra@gmail.com>
Link: https://lore.kernel.org/r/20250825183940.13211-3-abinashsinghlalotra@gmail.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
