]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: Remove double zero check
authorShaojie Dong <quic_shaojied@quicinc.com>
Fri, 25 Oct 2024 09:02:37 +0000 (17:02 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Nov 2024 16:34:03 +0000 (17:34 +0100)
commit0b0ad2541d8e465c82b69202bbc2b1efcac6b73d
tree6534edab3f0ff04983688fd250b8df54fa861ff8
parentd3b08e5f3f2829943342b88d3e2b44fb0ccdccab
um: Remove double zero check

free_pages() performs a parameter null check inside
therefore remove double zero check here.

Signed-off-by: Shaojie Dong <quic_shaojied@quicinc.com>
Link: https://patch.msgid.link/20241025-upstream_branch-v5-1-b8998beb2c64@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/kernel/skas/mmu.c