Received: by 10.223.176.46 with SMTP id f43csp4537268wra; Tue, 23 Jan 2018 10:39:14 -0800 (PST) X-Google-Smtp-Source: AH8x224B3yeJfBbm3o5WoKAGHWzJsBQsjvIiJIkS/HaE/sgwvpZTZVYqhum/tgCRNw84ex9cXXu4 X-Received: by 10.36.86.20 with SMTP id o20mr5032222itb.53.1516732754216; Tue, 23 Jan 2018 10:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516732754; cv=none; d=google.com; s=arc-20160816; b=FFKd3/6g3CnjaPy4Awn2UTA7lsI9PuuvXBOoAKzq+G4SsSIkI1yauxNqlE4lDqfh7v YdLgQTzjY94jmNsFBAx8CCkBUm+lp0QOXwXsifCU4AQdfvfllOkp2XaGswfBxmSMhs1q eJBWLVUzztKjLGlMG3GklARi1tfSfltgoMpp2km+yyE8WsYvJyehEyDlCG+PVsb95KUS C4UcUId8YymS2YK1/GRJxJE1MxjAZtqQUJLwlCtwFpb0FwK2HPXpVVqSbsP1gb8AIeJg BPyT+V3n4RqatNtqPubcReJRcyPgzsU6poQpySMr+dUHIMj5ZIz38aWVPlSbXgY305Ak YlQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=PkkwvjlH8poBdVD984NK9JYbBdHbI/ZS98/hpRBiNZw=; b=tXq4EnEhXgOBPBrknWb4Tq0Mkuuqe2dcIY+aVAmTngr0Hghi24caVOB0OugbXNQrhH mcD7nwuuSZuzLoLAQvxP+yOtpP1X6WwHcQ+WhmE/DqJPOd/05Jiqr3P4YoDkfgAxpx3i z0Tzh6urpb6RqLK5yddonRbzr15VndAk3pu75oebT0NK9bVHO6WESU2/RjMIgiE8MuaS UDj82KZCWQZZmijr1zU/TFf7TjX0vEAVkjRKCOUozIYts0sGB4hKLMfNtw8AX0WeP5S1 S9OUNk0q7dEcjU5S0xkfgL7k3gn8mwqm+Sb1GeS28ng0VdYkDohlzJISo7agCTeQyhD9 u82g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a31si8698930itj.25.2018.01.23.10.39.00; Tue, 23 Jan 2018 10:39:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752471AbeAWSiJ (ORCPT + 99 others); Tue, 23 Jan 2018 13:38:09 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:40104 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752392AbeAWSiF (ORCPT ); Tue, 23 Jan 2018 13:38:05 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from vadimp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 23 Jan 2018 20:37:58 +0200 Received: from r-mgtswh-226.mtr.labs.mlnx. (r-mgtswh-226.mtr.labs.mlnx [10.209.1.51]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w0NIbwiI013755; Tue, 23 Jan 2018 20:37:58 +0200 From: Vadim Pasternak To: dvhart@infradead.org, andy.shevchenko@gmail.com, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, jiri@resnulli.us, Vadim Pasternak Subject: [patch v10 1/6] platform/mellanox: mlxreg-hotplug: Remove unused wait.h include Date: Tue, 23 Jan 2018 20:34:20 +0000 Message-Id: <1516739665-132304-1-git-send-email-vadimp@mellanox.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver does not make use of anything defined in wait.h. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v9->v10: Fixes provideded by Darren: - make separate patch for cleaning unused includes; - do not remove spinlock.h from includes and make; --- drivers/platform/mellanox/mlxreg-hotplug.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/mellanox/mlxreg-hotplug.c b/drivers/platform/mellanox/mlxreg-hotplug.c index 2866c76..c015fe9 100644 --- a/drivers/platform/mellanox/mlxreg-hotplug.c +++ b/drivers/platform/mellanox/mlxreg-hotplug.c @@ -42,7 +42,6 @@ #include #include #include -#include #include /* Offset of event and mask registers from status register */ -- 2.1.4