From patchwork Mon Sep 24 18:58:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Bloch X-Patchwork-Id: 10612785 X-Patchwork-Delegate: jgg@ziepe.ca Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4458E161F for ; Mon, 24 Sep 2018 18:58:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38EF62A52E for ; Mon, 24 Sep 2018 18:58:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CF132A535; Mon, 24 Sep 2018 18:58:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C76C52A52E for ; Mon, 24 Sep 2018 18:58:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730885AbeIYBBz (ORCPT ); Mon, 24 Sep 2018 21:01:55 -0400 Received: from mail-eopbgr30066.outbound.protection.outlook.com ([40.107.3.66]:29526 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727665AbeIYBBy (ORCPT ); Mon, 24 Sep 2018 21:01:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KQHXZCLIo0GnumlCkuO5v6chKQW6Lu3XPIVzy8wD4FA=; b=ZFwusQA9d6g9NrrYCBEc/sD8KYoFT61uEXHUgo9vv2fx3pveAAbht2lR/7A/Iexz/6VcsHpcH1lEbNPvKDie89nkcMpuRU5EjaY06rZE2IXWZTo0vPsDr1Te+zy5GkY9+I2u8ikLC9TUFKNC+0MQVyLnnN4QpzLg13rEY3bdVk0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=markb@mellanox.com; Received: from r-vrt-26-1.mtr.labs.mlnx (37.142.13.130) by AM6PR05MB4407.eurprd05.prod.outlook.com (2603:10a6:209:43::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Mon, 24 Sep 2018 18:58:18 +0000 From: Mark Bloch To: jgg@ziepe.ca, leon@kernel.org Cc: linux-rdma@vger.kernel.org Subject: [PATCH rdma-next] RDMA/mlx5: Remove superfluous version print Date: Mon, 24 Sep 2018 18:58:07 +0000 Message-Id: <20180924185807.4462-1-markb@mellanox.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: AM5PR0701CA0019.eurprd07.prod.outlook.com (2603:10a6:203:51::29) To AM6PR05MB4407.eurprd05.prod.outlook.com (2603:10a6:209:43::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8abb822d-9abb-447e-d303-08d6224fb121 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR05MB4407; X-Microsoft-Exchange-Diagnostics: 1;AM6PR05MB4407;3:+4wVQLLrfLzK8rzxnonEzZdlkKTTyHeZCnpJvmM4f+k5ji0HsYRVj5bdJsXxOaqrPu2vY4aE7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F2ZvZ5Dz41RArURbLB/qMGv7Dt1Z7CTALyTHJX1rdGJnHenxwmXxXOxobk3bhlt7RTMBo9w5K0YVIUc4qaRB3uGP6n/cAxqSlmUaCKZKIIzoOdBELBPyIBRKPwCCA6LHL+FBZ+gRsoeRDOB+8vJT+Mmq6/onJYag0icKWf9QyKUcmCfXEFhWNiiyslvHh+Hc4ol92JFp32pUONjJxaPo7Nh+IcDjogP9Udke3yndcSgEPxKDvXlHg+JwImUwLzttBSyXjemI6xv3J41EJENPE;4:at7R0MulvhBJW1L3CcYG4dh4aVAIZuAF4QhdmFzoA7gZ2FyABlsoRb8T3n96sEblyABRIyVQZ+Cs38tHmPtWB4IHr5V0Kqf2kTG5Md0UeoJsMjvXaRuw/OXUUwCF+LP0APqutR4gOh5gpE0wWK/2egnt+3iJYzLqzQhgAx65aKkZRkzsGEqxFNe0DbtiejrFm6nbeQ4Jd8Mc+n6BxjPk/NEfCE/sfvZJ28ePf0tDBXc5GLXMQIxIZsFCEVVm0dD9wYtpqPJees+Prgul8n7UBg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231355)(944501410)(52105095)(93006095)(93001095)(6055026)(149066)(150027)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051);SRVR:AM6PR05MB4407;BCL:0;PCL:0;RULEID:;SRVR:AM6PR05MB4407; X-Forefront-PRVS: 0805EC9467 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39860400002)(136003)(346002)(366004)(396003)(376002)(189003)(199004)(105586002)(97736004)(6512007)(86362001)(53936002)(486006)(8936002)(5660300001)(476003)(956004)(2616005)(16526019)(48376002)(386003)(6506007)(50466002)(50226002)(478600001)(16586007)(66066001)(25786009)(316002)(26005)(106356001)(2906002)(81166006)(81156014)(1076002)(51416003)(4326008)(186003)(68736007)(52116002)(305945005)(3846002)(6116002)(8676002)(47776003)(7736002)(36756003)(6666003)(6486002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR05MB4407;H:r-vrt-26-1.mtr.labs.mlnx;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;AM6PR05MB4407;23:KPEQsaYXhDvIBpJGYB2fGBreciPiwdpK+a7lXX5169QDilrRK1gaXhp+Sc4Q6wJbTrdYX/P4ANp4pbHj/oQ3O1v7MX0Cf9JojWD9Is+JtBteMwnakChFRJZs0Q5NMCOmAI5OggABD8MAGrOxlAiJLr9AAlyXp/4HBw5X+nF0aGVzwnD4QpjjT+UyKLqYC7sjcYRiqeXHMrHfTk2htdWfODZQIgarlTSgqcLu7w+D1HOjDYX0RnwTpV6/Xca0sf4vTzN6wf/GsZclsV8HRyWU8Gn8KRwKbLloRNiAFF26uUlLM/KiQu+wxK1ZUI0bNdXlL8D6nDTeHx4BaPJrT6qne9L1hvXuQ851rqpwo6WqRYZIB7x+doXzsoXNFA38LZ/JeaUqLUART/x++Gxi36DaaIrIJ3cGOTQzioU5pfpklpqNQZIz6eD7Y4i8IsDB+h38/FDiunr+jpiwJQjP1yjie9znfBFLRCIBt+X302eYSmccvAGm68FBIbiMREQBPQ9SpQNGVFUggaN9pmwfcApZP5Itvd7Rqh6uHA8Ptf+mWnmuLCH9P6rZtdGkoeW7AruBUMOFo9F8YJELb1GoSNPgKHcV9fpvnHqtlkmh5ArkfPi/e085PVfsS+R83CADtmfVnoG/3+BkpcGTXwiHGI8n8zHX5+PfjAd2UNArS/kweuNabgKm6O5RbQbVX49zon9KMaRkO2l4u+gS9F+CY0T37JY5eGtQ+bWfqO5E1TdM6ST0bVaP4+LS5C0m/AjFHr0T2kpJO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eZ1Q5Ic35qbUhbI+Ope/5cdOSSCnW/iIV1PuVZ8UGjavC17SQWh7lyZpk/LMI+ltwBaGBa9nSc18NMnzqxMd0KSUQiBhVNPseMxpXJ0UvHinFOl6nDGrbi26U2eTFt4P58EgikrLDvsXfsZ63lTequt+RkClr2NnmLkZw==;5:GR4CrRtdl4wAHvWimiLKrUKyawf6HBdTuSl2+dRS3zYqO7veeHXCecs9Ot4bOu1Zw4AEMy+Szax7GLf2BK5mhb1KJY+m93UDlcDlSJdHCI5AE0KtRGhBi6DGt43CsTQk0agmzVl7mNcM8IKCfhvSBgwr+8mLGdsrbLrw8XX6CC4=;7:SVXGqxHXnBLri0Hj0vzZD7VC2H/37Bao1WGBrzlZHzVWNWKQHcdT/fv478e5PRdEqha4udGffpijJrY02WkQLZdw8lp0I7fbEYC3dNVZQheTZFfeKXTvMO77LhuRhLVKHnfoXStYoJn4PPRzVD/MR09lVcGV2azlGvpGx+u002CqDkYvY7+DhumPxH9MQf1Dc2Qznx+SAzKQrhepSLq4p+0+OmLb9HD/WZ5wK0z48jokUPEsyyTsowukPU52olHF SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2018 18:58:18.4204 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8abb822d-9abb-447e-d303-08d6224fb121 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4407 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 16c1975f10323 introduced profiles to MLX5 IB and in the process added an unneeded version print when creating an MLX5 IB device. Remove the print, we still have a printk for driver version in mlx5_ib_add(). Signed-off-by: Mark Bloch --- drivers/infiniband/hw/mlx5/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 2be6a4377558..a824d9df232c 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -6252,8 +6252,6 @@ void *__mlx5_ib_add(struct mlx5_ib_dev *dev, int err; int i; - printk_once(KERN_INFO "%s", mlx5_version); - for (i = 0; i < MLX5_IB_STAGE_MAX; i++) { if (profile->stage[i].init) { err = profile->stage[i].init(dev);