From: Keir Fraser Subject: Re: hvm_init_ap_contexts Date: Thu, 01 Mar 2007 16:59:56 +0000 Message-ID: References: <45E70280.8090208@cea.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45E70280.8090208@cea.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: PUCCETTI Armand , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org The return keyword is pointless here, but allowed. -- Keir On 1/3/07 16:42, "PUCCETTI Armand" wrote: > Why is there an argument returned in the function below (of hvm.h), > knowing that there is void? > > static inline void > hvm_init_ap_context(struct vcpu_guest_context *ctxt, > int vcpuid, int trampoline_vector) > { > return hvm_funcs.init_ap_context(ctxt, vcpuid, trampoline_vector); > }