From patchwork Mon Aug 31 16:44:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Pfaff X-Patchwork-Id: 512548 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (unknown [IPv6:2600:3c00::f03c:91ff:fe6e:bdf7]) by ozlabs.org (Postfix) with ESMTP id 0F45014018C for ; Tue, 1 Sep 2015 02:44:10 +1000 (AEST) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id A6052108DA; Mon, 31 Aug 2015 09:44:08 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v1.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id 950C1108D9 for ; Mon, 31 Aug 2015 09:44:07 -0700 (PDT) Received: from bar4.cudamail.com (bar2 [192.168.15.2]) by mx3v1.cudamail.com (Postfix) with ESMTP id 14F9B618CB1 for ; Mon, 31 Aug 2015 10:44:06 -0600 (MDT) X-ASG-Debug-ID: 1441039445-03dc211ad7394e70001-byXFYA Received: from mx3-pf1.cudamail.com ([192.168.14.2]) by bar4.cudamail.com with ESMTP id G65DJ6RbtvB5T7Q1 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 31 Aug 2015 10:44:05 -0600 (MDT) X-Barracuda-Envelope-From: blp@nicira.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.2 Received: from unknown (HELO mail-pa0-f52.google.com) (209.85.220.52) by mx3-pf1.cudamail.com with ESMTPS (RC4-SHA encrypted); 31 Aug 2015 16:44:04 -0000 Received-SPF: unknown (mx3-pf1.cudamail.com: Multiple SPF records returned) X-Barracuda-RBL-Trusted-Forwarder: 209.85.220.52 Received: by pacdd16 with SMTP id dd16so144534103pac.2 for ; Mon, 31 Aug 2015 09:44:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7KMCwcOyhW8kq3DgscBmdTqTVH3ixY/sj9yObI9T3Xk=; b=hmD65r8I9D1sU6QQFJUInfVuhIBzxM5GcQp0hyeLKTRVtenAOtMl3HFZNmWo5ohb/A /R77qDIPWbKEciicHWDJFanBgRWki1lGaXUtVW/vrUs3mMi+zmnM8C8Jsa6Yhk5bOwjf tPyUPGpy2MU6NaLPyMDDSEacz4Pv2ZpAwIWCdJPgVt4HkMWdkj7hIcUfmSGUZF4wDeFT v67Gz2az+g1UkDnBymY4p+79jxCdzPDsFHhoVaI5VeMPv+Fvh8PrfFgjpLjD4e7jSR+K RpjNGYBMySzHnVqljP7NrZeNmbb8GjAJ2ENar6yTuYoUu7yI9as62VWZNWQwm5pftcmx qfxA== X-Gm-Message-State: ALoCoQljlzvJPkgjysCb5LA5mICrHFwOdT1dX6PSJEZN/lhTXEeUEZEXyIkUiuExKiUrrtt7T/aO X-Received: by 10.68.241.103 with SMTP id wh7mr38572975pbc.88.1441039443294; Mon, 31 Aug 2015 09:44:03 -0700 (PDT) Received: from sigabrt.benpfaff.org (173-228-112-192.dsl.dynamic.fusionbroadband.com. [173.228.112.192]) by smtp.gmail.com with ESMTPSA id hg3sm15130075pbb.52.2015.08.31.09.44.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 31 Aug 2015 09:44:01 -0700 (PDT) X-CudaMail-Envelope-Sender: blp@nicira.com X-Barracuda-Apparent-Source-IP: 173.228.112.192 From: Ben Pfaff To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-V1-830029604 X-CudaMail-DTE: 083115 X-CudaMail-Originating-IP: 209.85.220.52 Date: Mon, 31 Aug 2015 09:44:04 -0700 X-ASG-Orig-Subj: [##CM-V1-830029604##][PATCH] ovsdb: Remove misleading OVS_UNUSED from ovsdb_monitor_change_cb(). Message-Id: <1441039444-7671-1-git-send-email-blp@nicira.com> X-Mailer: git-send-email 2.1.3 X-Barracuda-Connect: UNKNOWN[192.168.14.2] X-Barracuda-Start-Time: 1441039445 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 Cc: Ben Pfaff Subject: [ovs-dev] [PATCH] ovsdb: Remove misleading OVS_UNUSED from ovsdb_monitor_change_cb(). X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" This function does use this parameter. (This does not change any behavior.) Signed-off-by: Ben Pfaff Acked-by: Andy Zhou --- ovsdb/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovsdb/monitor.c b/ovsdb/monitor.c index 133460e..8a64fc1 100644 --- a/ovsdb/monitor.c +++ b/ovsdb/monitor.c @@ -779,7 +779,7 @@ ovsdb_monitor_changes_classify(enum ovsdb_monitor_selection type, static bool ovsdb_monitor_change_cb(const struct ovsdb_row *old, const struct ovsdb_row *new, - const unsigned long int *changed OVS_UNUSED, + const unsigned long int *changed, void *aux_) { struct ovsdb_monitor_aux *aux = aux_;