From 2b665e276c15ba7d9fc8cdd16931883a51ed13e4 Mon Sep 17 00:00:00 2001 From: Gu Zheng Date: Thu, 3 Apr 2014 14:47:16 -0700 Subject: [PATCH] fs/direct-io.c: remove redundant comparison The return value of bio_get_nr_vecs() cannot be bigger than BIO_MAX_PAGES, so we can remove redundant the comparison between nr_pages and BIO_MAX_PAGES. Signed-off-by: Gu Zheng Cc: Al Viro Reviewed-by: Jeff Moyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed