From patchwork Wed Jul 14 03:11:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhu Yanjun X-Patchwork-Id: 12373615 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DATE_IN_FUTURE_12_24, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40981C07E95 for ; Tue, 13 Jul 2021 10:48:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A74061260 for ; Tue, 13 Jul 2021 10:48:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235413AbhGMKvm (ORCPT ); Tue, 13 Jul 2021 06:51:42 -0400 Received: from mga12.intel.com ([192.55.52.136]:16175 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235390AbhGMKvm (ORCPT ); Tue, 13 Jul 2021 06:51:42 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10043"; a="189823680" X-IronPort-AV: E=Sophos;i="5.84,236,1620716400"; d="scan'208";a="189823680" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2021 03:48:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,236,1620716400"; d="scan'208";a="459532928" Received: from unknown (HELO intel-86.bj.intel.com) ([10.238.154.86]) by orsmga008.jf.intel.com with ESMTP; 13 Jul 2021 03:48:48 -0700 From: yanjun.zhu@linux.dev To: zyjzyj2000@gmail.com, yanjun.zhu@intel.com, mustafa.ismail@intel.com, shiraz.saleem@intel.com, dledford@redhat.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org, yanjun.zhu@linux.dev, leon@kernel.org Subject: [PATCH 0/3] RDMA/irdma: do some cleanups Date: Tue, 13 Jul 2021 23:11:27 -0400 Message-Id: <20210714031130.1511109-1-yanjun.zhu@linux.dev> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Zhu Yanjun Since the functions irdma_sc_repost_aeq_entries, irdma_set_hw_rsrc and irdma_setup_virt_qp always return 0, remove the returned value check and change the returned type to void. Zhu Yanjun (3): RDMA/irdma: change the returned type of irdma_sc_repost_aeq_entries to void RDMA/irdma: change the returned type of irdma_set_hw_rsrc to void RDMA/irdma: change returned type of irdma_setup_virt_qp to void drivers/infiniband/hw/irdma/ctrl.c | 4 +--- drivers/infiniband/hw/irdma/hw.c | 11 ++--------- drivers/infiniband/hw/irdma/type.h | 3 +-- drivers/infiniband/hw/irdma/verbs.c | 6 ++---- 4 files changed, 6 insertions(+), 18 deletions(-)