From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: [PATCH v2 0/2] minor cleanup in ethdev hotplug Date: Fri, 22 Jan 2016 15:06:56 +0100 Message-ID: <1453471618-29722-1-git-send-email-david.marchand@6wind.com> References: <1453377431-25850-1-git-send-email-david.marchand@6wind.com> Cc: viktorin@rehivetech.com To: dev@dpdk.org 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) In-Reply-To: <1453377431-25850-1-git-send-email-david.marchand@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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