From nobody Mon Feb 9 00:20:13 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1533459135447960.411955792576; Sun, 5 Aug 2018 01:52:15 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C64903082152; Sun, 5 Aug 2018 08:52:12 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 841FB6092E; Sun, 5 Aug 2018 08:52:12 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2FD251800B6A; Sun, 5 Aug 2018 08:52:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w730SYIp008758 for ; Thu, 2 Aug 2018 20:28:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id 12E02308BDB4; Fri, 3 Aug 2018 00:28:34 +0000 (UTC) Received: from mx1.redhat.com (ext-mx12.extmail.prod.ext.phx2.redhat.com [10.5.110.41]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 05656308BDA6 for ; Fri, 3 Aug 2018 00:28:30 +0000 (UTC) Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 517F931500A0 for ; Fri, 3 Aug 2018 00:28:29 +0000 (UTC) Received: by mail-qt0-f194.google.com with SMTP id c15-v6so4471572qtp.0 for ; Thu, 02 Aug 2018 17:28:29 -0700 (PDT) Received: from bebop.8.8.8.8 ([2804:7f5:d180:27f9:da3e:68ff:d0f:a057]) by smtp.gmail.com with ESMTPSA id l188-v6sm1497519qke.83.2018.08.02.17.28.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Aug 2018 17:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GkY3wlnocSToxOpTsxrnvqY+Iw3hfS/Y1OgdL5Tmfd8=; b=Yor6FwSef9xS34DI09Yg4YI+vLkdx8sRaRPcQBwZb+YnbsmfczNo6vHGloYW+L7YOh qYggHU7SozdECeeG1x1DpCd6iY4VpMjt93IY4votS8i/iMNrqYPISkDjPKleDYe083ou 2VeVYFS5yZnWixF3nXa1VdVGpnM2A0WuekffV+4whv1UOVCvqtCArLl+rYSRdmgj7O1G FLoejez5Akar0lpGbCHeKqDOn8F1bbbTwxDfGxJ2u2OLF2vofi9geAhG9TZMCogBEiSv mxTOs2F5Q0hBTTvp6j139ELbDy21q2M0dqDaKXzWFpMb+fahqGjofsNGxmxulNhr6IEq Ri3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GkY3wlnocSToxOpTsxrnvqY+Iw3hfS/Y1OgdL5Tmfd8=; b=Kx25AMaztDaKJhjcaOQtJ08LYO1Wfp7b39FjePQLCdHrpLPyA9Fm5pY+18TwH6xIkS xaqaM+RnxJuyjTcr3bAAH/z2URmnfC/spgJYVhlOkYiCigjg5IGLxsnANmQtYt4wJ2p9 2dz5NEZGqB3dSKWxANpvTWkv/MjzHucAdvbt584DAOII6ES0MFDChOcrrKxbCKsbNIMM hNP8S0XWn8ORTf7kA2O2Oqu8V6oitrjujk1IOsEtWWZszJGKRU0X/aM0W2xnA8vv9uQf Qmwecv9HBkeV1/QURtjnGOZzvMSf5PG2wo2+AlySuCxKQ/hh5vlPjDEYMLHU3aHko0dS L71w== X-Gm-Message-State: AOUpUlEVtG2FRmgU6JcrCjOkQfnk3bMgJkgLE7uqu826koXoNg+jPFl+ iSVx8YQLkQseuWtjxFsEB5j7tFfU X-Google-Smtp-Source: AAOMgpd08UQK5ihmDpTXv6SerIeOovThZQQmX3gXQWIUIB06eq6Z18wSg7lFUrxZ2vW5kB5OadNS0g== X-Received: by 2002:a0c:81ae:: with SMTP id 43-v6mr1634573qvd.129.1533256108110; Thu, 02 Aug 2018 17:28:28 -0700 (PDT) From: Marcos Paulo de Souza To: libvir-list@redhat.com Date: Thu, 2 Aug 2018 21:27:53 -0300 Message-Id: <20180803002755.7269-4-marcos.souza.org@gmail.com> In-Reply-To: <20180803002755.7269-1-marcos.souza.org@gmail.com> References: <20180803002755.7269-1-marcos.souza.org@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Fri, 03 Aug 2018 00:28:29 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Fri, 03 Aug 2018 00:28:29 +0000 (UTC) for IP:'209.85.216.194' DOMAIN:'mail-qt0-f194.google.com' HELO:'mail-qt0-f194.google.com' FROM:'marcos.souza.org@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.13 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 209.85.216.194 mail-qt0-f194.google.com 209.85.216.194 mail-qt0-f194.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.41 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.24 X-loop: libvir-list@redhat.com Cc: Marcos Paulo de Souza Subject: [libvirt] [PATCH 3/5] hyperv: Drop check for auth and auth->cb X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Sun, 05 Aug 2018 08:52:13 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Since they are done inside virAuthGetPassword and virAuthGetUsername when needed. Signed-off-by: Marcos Paulo de Souza --- src/hyperv/hyperv_driver.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/hyperv/hyperv_driver.c b/src/hyperv/hyperv_driver.c index 6bc4c099e2..7ca145aef5 100644 --- a/src/hyperv/hyperv_driver.c +++ b/src/hyperv/hyperv_driver.c @@ -128,13 +128,6 @@ hypervConnectOpen(virConnectPtr conn, virConnectAuthPt= r auth, =20 virCheckFlags(VIR_CONNECT_RO, VIR_DRV_OPEN_ERROR); =20 - /* Require auth */ - if (auth =3D=3D NULL || auth->cb =3D=3D NULL) { - virReportError(VIR_ERR_INVALID_ARG, "%s", - _("Missing or invalid auth pointer")); - return VIR_DRV_OPEN_ERROR; - } - /* Allocate per-connection private data */ if (VIR_ALLOC(priv) < 0) goto cleanup; --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list