All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] target: remove dead kmap checks
@ 2026-11-05 11:33 shao.mingyin
  2026-11-05 11:33 ` [PATCH 1/2] target: iblock: drop the dead kmap() NULL check shao.mingyin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: shao.mingyin @ 2026-11-05 11:33 UTC (permalink / raw)
  To: mkp, linux-scsi, target-devel; +Cc: James.Bottomley, linux-kernel

kmap() and kmap_local_page() never return NULL, so the checks after them are
dead code.  Remove them.

No functional change intended; both patches are independent and can be
applied on their own or as a subset.

Signed-off-by: Shao Mingyin <shao.mingyin@zte.com.cn>
---
base-commit: 7649ba73f9e7e1e04d0b46213e39c79ae09dd55c

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-09  3:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05 11:33 [PATCH 0/2] target: remove dead kmap checks shao.mingyin
2026-11-05 11:33 ` [PATCH 1/2] target: iblock: drop the dead kmap() NULL check shao.mingyin
2026-11-05 18:58   ` Laurence Oberman
2026-11-05 11:33 ` [PATCH 2/2] target: core: drop the dead kmap_local_page() " shao.mingyin
2026-11-09  3:33 ` [PATCH 0/2] target: remove dead kmap checks Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.