Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2012 19:12:07 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r229191 - stable/8/sys/vm
Message-ID:  <201201011912.q01JC778026565@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Jan  1 19:12:07 2012
New Revision: 229191
URL: http://svn.freebsd.org/changeset/base/229191

Log:
  MFC r227529:
  Remove the condition that is always true.

Modified:
  stable/8/sys/vm/vm_pager.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/vm/vm_pager.c
==============================================================================
--- stable/8/sys/vm/vm_pager.c	Sun Jan  1 19:11:47 2012	(r229190)
+++ stable/8/sys/vm/vm_pager.c	Sun Jan  1 19:12:07 2012	(r229191)
@@ -190,7 +190,7 @@ vm_pager_init()
 	 * Initialize known pagers
 	 */
 	for (pgops = pagertab; pgops < &pagertab[npagers]; pgops++)
-		if (pgops && ((*pgops)->pgo_init != NULL))
+		if ((*pgops)->pgo_init != NULL)
 			(*(*pgops)->pgo_init) ();
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201011912.q01JC778026565>