commit | dc8cfa55da8c21e0b3290c29677a9d05c0a3e595 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Mon Sep 01 12:46:50 2008 +0100 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Sep 03 09:53:45 2008 -0400 |
tree | a4c8bedad12a15d1e7c9fcfc99f873280ca644b4 | |
parent | cc12dac2e512c2b6185ed91899e09e9910630315 [diff] |
sfc: Use explicit bool for boolean variables, parameters and return values Replace (cond ? 1 : 0) with cond or !!cond as appropriate, and (cond ? 0 : 1) with !cond. Remove some redundant boolean temporaries. Rename one field that looks like a flag but isn't. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>