The patch titled Subject: mm/swapfile: remove needless request_queue NULL pointer check has been removed from the -mm tree. Its filename was mm-swapfile-remove-needless-request_queue-null-pointer-check.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Xu Wang <vulab@xxxxxxxxxxx> Subject: mm/swapfile: remove needless request_queue NULL pointer check The request_queue pointer returned from bdev_get_queue() shall never be NULL, so the null check is unnecessary, just remove it. Link: https://lkml.kernel.org/r/20210917082111.33923-1-vulab@xxxxxxxxxxx Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx> Acked-by: David Hildenbrand <david@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/swapfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/swapfile.c~mm-swapfile-remove-needless-request_queue-null-pointer-check +++ a/mm/swapfile.c @@ -3118,7 +3118,7 @@ static bool swap_discardable(struct swap { struct request_queue *q = bdev_get_queue(si->bdev); - if (!q || !blk_queue_discard(q)) + if (!blk_queue_discard(q)) return false; return true; _ Patches currently in -mm which might be from vulab@xxxxxxxxxxx are