Received: from eggs.gnu.org ([2001:4830:134:3::10]:51072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXrnp-0003m8-OH for qemu-devel@nongnu.org; Tue, 17 Mar 2015 09:45:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXrni-0006y5-9r for qemu-devel@nongnu.org; Tue, 17 Mar 2015 09:45:01 -0400 From: Juan Quintela In-Reply-To: <1426313974-25607-2-git-send-email-thuth@linux.vnet.ibm.com> (Thomas Huth's message of "Sat, 14 Mar 2015 07:19:28 +0100") References: <1426313974-25607-1-git-send-email-thuth@linux.vnet.ibm.com> <1426313974-25607-2-git-send-email-thuth@linux.vnet.ibm.com> Date: Tue, 17 Mar 2015 14:44:51 +0100 Message-ID: <87h9tjivqk.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 1/7] migration: Remove unused functions Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: qemu-trivial@nongnu.org, Amit Shah , qemu-devel@nongnu.org Thomas Huth wrote: > migrate_rdma_pin_all(), qsb_clone() and qsb_set_length() > are completely unused and thus can be deleted. > > Signed-off-by: Thomas Huth > Cc: Juan Quintela > Cc: Amit Shah > void migrate_del_blocker(Error *reason); > > -bool migrate_rdma_pin_all(void); Removed > diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h > index a923cec..45d7f71 100644 > --- a/include/migration/qemu-file.h > +++ b/include/migration/qemu-file.h > @@ -133,9 +133,7 @@ bool qemu_file_mode_is_not_valid(const char *mode); > bool qemu_file_is_writable(QEMUFile *f); > > QEMUSizedBuffer *qsb_create(const uint8_t *buffer, size_t len); > -QEMUSizedBuffer *qsb_clone(const QEMUSizedBuffer *); Removed > void qsb_free(QEMUSizedBuffer *); > -size_t qsb_set_length(QEMUSizedBuffer *qsb, size_t length); Being used in the COLO patches (posted on the list) Adjusted the removal by hand, thanks. Applied, thanks.