Received: from eggs.gnu.org ([208.118.235.92]:58237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQd8h-0005vl-R7 for qemu-devel@nongnu.org; Tue, 23 Oct 2012 07:59:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQd8c-0007GF-2K for qemu-devel@nongnu.org; Tue, 23 Oct 2012 07:59:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQd8b-0007G6-Qg for qemu-devel@nongnu.org; Tue, 23 Oct 2012 07:59:13 -0400 From: Markus Armbruster References: <1350666502-11224-1-git-send-email-stefanha@redhat.com> <1350666502-11224-4-git-send-email-stefanha@redhat.com> Date: Tue, 23 Oct 2012 13:58:48 +0200 In-Reply-To: <1350666502-11224-4-git-send-email-stefanha@redhat.com> (Stefan Hajnoczi's message of "Fri, 19 Oct 2012 19:08:22 +0200") Message-ID: <87pq49wgav.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 3/3] net: extract notify_link_status_changed() function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Paolo Bonzini , Anthony Liguori , lersek@redhat.com, qemu-devel@nongnu.org, Stefan Hajnoczi Stefan Hajnoczi writes: > From: Stefan Hajnoczi > > The code to invoke the NetClientInfo .link_status_changed() callback is > duplicated in several places. Create a single > notify_link_status_changed() function and avoid duplication. > > This is useful because later patches change net internals. By having a > single function it is easier to make changes without affecting callers. > > Signed-off-by: Stefan Hajnoczi Same commit message as 2/3. Care to repost with one that makes sense? ;)