From patchwork Mon Dec 16 09:57:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 3352701 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4DDF19F314 for ; Mon, 16 Dec 2013 09:57:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08E3720364 for ; Mon, 16 Dec 2013 09:57:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F3C5E20270 for ; Mon, 16 Dec 2013 09:57:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753205Ab3LPJ5l (ORCPT ); Mon, 16 Dec 2013 04:57:41 -0500 Received: from goliath.siemens.de ([192.35.17.28]:34485 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753188Ab3LPJ5j (ORCPT ); Mon, 16 Dec 2013 04:57:39 -0500 Received: from mail1.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.13.6/8.13.6) with ESMTP id rBG9vW6A002886; Mon, 16 Dec 2013 10:57:32 +0100 Received: from mchn199C.mchp.siemens.de.com ([146.254.78.38]) by mail1.siemens.de (8.14.3/8.14.3) with SMTP id rBG9vTC5007502; Mon, 16 Dec 2013 10:57:31 +0100 From: Jan Kiszka To: Gleb Natapov , Paolo Bonzini Cc: kvm , Arthur Chunqi Li Subject: [PATCH 03/15] rmap_chain: Remove dead code Date: Mon, 16 Dec 2013 10:57:16 +0100 Message-Id: X-Mailer: git-send-email 1.8.1.1.298.ge7eed54 In-Reply-To: References: In-Reply-To: References: Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes corresponding warning. Signed-off-by: Jan Kiszka --- x86/rmap_chain.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/x86/rmap_chain.c b/x86/rmap_chain.c index 0df1bcb..b356a37 100644 --- a/x86/rmap_chain.c +++ b/x86/rmap_chain.c @@ -5,15 +5,6 @@ #include "vm.h" #include "smp.h" -void print(const char *s); - -static unsigned int inl(unsigned short port) -{ - unsigned int val; - asm volatile ("inl %w1, %0":"=a" (val):"Nd" (port)); - return val; -} - int main (void) { int i;