Change one constant plus remove a redundant !!.
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
#include "ops_file.h"
#include "util.h"
-#define BFITNOENT 0xFFFFFFFF
+#define BFITNOENT (u32)~0
/*
* These routines are used by the resource group routines (rgrp.c)
{
u64 first = ri->ri_data0;
u64 last = first + ri->ri_data;
- return !!(first <= block && block < last);
+ return first <= block && block < last;
}
/**