summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-18 17:33:48 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-18 17:33:48 +0000
commit77b32ea8095faf6ca609c6f95119214a55db0d10 (patch)
tree21209b7ec84b74063b7be9534389bdd9abaf104a
parentb32509445090c11ca81df8a2e66fe33ccde8b190 (diff)
(diskfs_max_user_pager_prot) [add_pager_max_prot]:
(a == b) ? 1 : 0 ====> (a == b).
-rw-r--r--ufs/pager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ufs/pager.c b/ufs/pager.c
index 695a006b..8834f911 100644
--- a/ufs/pager.c
+++ b/ufs/pager.c
@@ -646,8 +646,7 @@ diskfs_max_user_pager_prot ()
if (upi->type == FILE_DATA)
max_prot |= upi->max_prot;
/* Stop iterating if MAX_PROT is as filled as it's going to get. */
- return
- (max_prot == (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)) ? 1 : 0;
+ return max_prot == (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE);
}
block_caching (); /* Make any silly pagers go away. */