ia64/xen-unstable

changeset 993:2779d20e54e2

bitkeeper revision 1.636.1.3 (3fcdbd654OqdrTB4O2_GaQpn0Yh7Vw)

xc_private.h:
Propagate return values as far as possible.
author br260@laudney.cl.cam.ac.uk
date Wed Dec 03 10:39:33 2003 +0000 (2003-12-03)
parents d3717f48d4bb
children c161fd976776
files tools/xc/lib/xc_private.h
line diff
     1.1 --- a/tools/xc/lib/xc_private.h	Mon Dec 01 22:11:00 2003 +0000
     1.2 +++ b/tools/xc/lib/xc_private.h	Wed Dec 03 10:39:33 2003 +0000
     1.3 @@ -105,8 +105,6 @@ static inline int do_dom0_op(int xc_hand
     1.4          goto out2;
     1.5      }
     1.6  
     1.7 -    ret = 0;
     1.8 -
     1.9   out2: (void)munlock(op, sizeof(*op));
    1.10   out1: return ret;
    1.11  }
    1.12 @@ -128,8 +126,6 @@ static inline int do_network_op(int xc_h
    1.13      if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
    1.14          goto out2;
    1.15  
    1.16 -    ret = 0;
    1.17 -
    1.18   out2: (void)munlock(op, sizeof(*op));
    1.19   out1: return ret;
    1.20  }