From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> We can't reach the return mess at the bottom of __xfs_scrub_test so get rid of it. Fixes-coverity-id: 1428798 Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> --- scrub/scrub.c | 1 - 1 file changed, 1 deletion(-) diff --git a/scrub/scrub.c b/scrub/scrub.c index 0dbe11c..6abca2a 100644 --- a/scrub/scrub.c +++ b/scrub/scrub.c @@ -602,7 +602,6 @@ _("Kernel %s %s facility not detected."), str_info(ctx, ctx->mntpoint, "%s", strerror(errno)); return true; } - return error == 0 || (error && errno != EOPNOTSUPP && errno != ENOTTY); } bool -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html