mirror of https://lore.kernel.org/lkml/
 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
  2026-11-05 11:33 ` [PATCH 2/2] target: core: drop the dead kmap_local_page() " shao.mingyin
  0 siblings, 2 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2026-11-05 18:59 UTC | newest]

Thread overview: 4+ 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®