From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id D76A58DB3 for ; Fri, 22 Jan 2016 15:07:04 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id r129so214680533wmr.0 for ; Fri, 22 Jan 2016 06:07:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wAAsr/Zv9D88TfFKF2YMGoLA8dCRAx6IN+Pmk1XwfGI=; b=Iyq1Lj4qSLndCKWqBIfXy42IFfN7LBPUUSXn0JxdKxSU7S0BJ96IFMlbCtqqF2VfEr OUv/FywH8zOct9GfJMOqVNEMNSXxq9paztUbskoC0qHz/euxS4dDxuxWlMW83F6vNB0/ XXw+SP8hiEcq4TsCVIYetpKFtPoBV2jGshCXehxyU+wvLD/FKAhfX80P47wnLuzxxcdA OmMM5HAtYbeOHZBHt1bK9VKpcKcKu6+koo8190uOzKEV1oZDTDGh+neKpg1f+/Y15Fs4 RZdnijlYykGKL7xwU9qGFCvji7gAnvKJKLgxLDbfrDxAC3O9NPztzcJsFbLYFZzVjEAK BVww== 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:in-reply-to :references; bh=wAAsr/Zv9D88TfFKF2YMGoLA8dCRAx6IN+Pmk1XwfGI=; b=dfZa3hKpfSCPrQJUocHEjlon4mWO+c+HgBOvc537JVmUZmzm6c57TLvr2MQdi8E7gQ 6EMb04wH1FPTYDFNCOj0wM2ZwlEwXE6s9gT5AjtFUjkDc5ebPEWzFWpKw/rKFKvy0WSU CeffzIeW7G3JLCTr++fFvdGcmroc3VtpARDtVEhXRWfGWjsymQQ8aGbN6q7zO+90/shR DY1d8rOQrJ3KSShZoPaKDn3ltM+PhnyB+8R8PK+FujHTZ4W5M5TOAo6/5pmI3kp+bUDh vl+zhkJGgfdYqgta4fcgc/XztOsI7HojH4Xsu9AKgRAYo1CAU8uwN3j3WDCbNgJ+qTXm XgDw== X-Gm-Message-State: AG10YOQmpA4HTdP6VQ5i+PbK1PB8lK7DP+1g6W7s4lauu8Whid3P4i6FKAzGzZmLtuHFPldE X-Received: by 10.28.229.20 with SMTP id c20mr3568769wmh.79.1453471624545; Fri, 22 Jan 2016 06:07:04 -0800 (PST) Received: from gloops.dev.6wind.com (144.77.126.78.rev.sfr.net. [78.126.77.144]) by smtp.gmail.com with ESMTPSA id l194sm3107982wmb.14.2016.01.22.06.07.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Jan 2016 06:07:03 -0800 (PST) From: David Marchand To: dev@dpdk.org Date: Fri, 22 Jan 2016 15:06:56 +0100 Message-Id: <1453471618-29722-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1453377431-25850-1-git-send-email-david.marchand@6wind.com> References: <1453377431-25850-1-git-send-email-david.marchand@6wind.com> Cc: viktorin@rehivetech.com Subject: [dpdk-dev] [PATCH v2 0/2] minor cleanup in ethdev hotplug X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 14:07:05 -0000 It was first a preparation step for future patchsets, but I am not sure what will become of them, so sending this anyway since it does not hurt to clean this now. Changes since v1: - rebased on HEAD (previous patchset was based on another patch I sent separately) - restored EINVAL error code for rte_eth_dev_(at|de)tach (thanks Jan) -- David Marchand David Marchand (2): ethdev: remove useless null checks ethdev: move code to common place in hotplug lib/librte_ether/rte_ethdev.c | 92 +++++++++++++++++++++---------------------- 1 file changed, 46 insertions(+), 46 deletions(-) -- 1.9.1