From patchwork Fri Feb 6 00:09:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 5787671 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F30C1BF440 for ; Fri, 6 Feb 2015 00:10:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1519120270 for ; Fri, 6 Feb 2015 00:10:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A0CE20259 for ; Fri, 6 Feb 2015 00:10:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754749AbbBFAJq (ORCPT ); Thu, 5 Feb 2015 19:09:46 -0500 Received: from mail-lb0-f179.google.com ([209.85.217.179]:33157 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752318AbbBFAJR (ORCPT ); Thu, 5 Feb 2015 19:09:17 -0500 Received: by mail-lb0-f179.google.com with SMTP id z11so12174288lbi.10 for ; Thu, 05 Feb 2015 16:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=D1m2wvMt2/62hZFru//d3wMYD9LUtaRAkaaeTgK1WQs=; b=c4wCC9IvsjDRuyNLTP7nHYTmBRJsulArRzW+NqW1wAfcBwHvCHob6DKf0PALAhgd4r IjtSVoyvh9jw0CQwfQR9L6DiysTDackttUOkMEOrH0URrz2lFSyyEEmKlaDBMRmD9nuH pR9pdrwG2lKGwbHMuc9kztJ+YMDa0flVl+WGQ= 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=D1m2wvMt2/62hZFru//d3wMYD9LUtaRAkaaeTgK1WQs=; b=NdQHDP9E+TU0nlzcHtWlsdcItEov4J+zL87xg7mlxy8MkXhZoHEE5K4BOJI/ksOAl5 EYnGy/td6T1V+gnEj53AaHOsYnCG1hv+EuBMzlIboxNTzw1HFoL4t7b+2VeOFSllS9l3 etXyTtsiGNVQ1RwsbEbv+mZNuaxOWGiHiT0iIFXdMQU+GqSpzRqnFmn0atzX0jzZ//el U6VoLOx50k9ABD5BDSoKx/oMT7cxJYP2dfqXbZMu/8EI4+JWh7PQTexfzO0b4y5DMVcb znysI0gsu2cELX5BJ+sC/crYhspbtKcT/kBhMy0xn/5QFLYaoT+34vPFhgJR1uyFZY4x 9GeA== X-Gm-Message-State: ALoCoQmlqOPypqQxODQoK31dc7d3Yn2IQ/Q/7m4cEvHsW/72EObHuPRuuI9AJCffL/UGymR6eIOz X-Received: by 10.152.43.67 with SMTP id u3mr519934lal.23.1423181356291; Thu, 05 Feb 2015 16:09:16 -0800 (PST) Received: from spencer.imf.au.dk ([130.225.20.51]) by mx.google.com with ESMTPSA id sf2sm119240lbb.30.2015.02.05.16.09.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Feb 2015 16:09:15 -0800 (PST) From: Rasmus Villemoes To: Sagi Grimberg , Roland Dreier , Sean Hefty , Hal Rosenstock Cc: Rasmus Villemoes , linux-rdma@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] iser-target: Remove duplicate function names Date: Fri, 6 Feb 2015 01:09:05 +0100 Message-Id: <1423181345-18449-2-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1423181345-18449-1-git-send-email-linux@rasmusvillemoes.dk> References: <1423181345-18449-1-git-send-email-linux@rasmusvillemoes.dk> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The macro isert_dbg already ensures that __func__ is part of the output, so there's no reason to duplicate the function name in the format string itself. Signed-off-by: Rasmus Villemoes Acked-by: Sagi Grimberg --- drivers/infiniband/ulp/isert/ib_isert.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index dafb3c531f96..20097de9ac45 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c @@ -949,7 +949,7 @@ isert_post_recv(struct isert_conn *isert_conn, u32 count) isert_err("ib_post_recv() failed with ret: %d\n", ret); isert_conn->post_recv_buf_count -= count; } else { - isert_dbg("isert_post_recv(): Posted %d RX buffers\n", count); + isert_dbg("Posted %d RX buffers\n", count); isert_conn->conn_rx_desc_head = rx_head; } return ret; @@ -1709,8 +1709,7 @@ isert_put_cmd(struct isert_cmd *isert_cmd, bool comp_err) * associated cmd->se_cmd needs to be released. */ if (cmd->se_cmd.se_tfo != NULL) { - isert_dbg("Calling transport_generic_free_cmd from" - " isert_put_cmd for 0x%02x\n", + isert_dbg("Calling transport_generic_free_cmd for 0x%02x\n", cmd->iscsi_opcode); transport_generic_free_cmd(&cmd->se_cmd, 0); break; @@ -3136,7 +3135,7 @@ accept_wait: spin_lock_bh(&np->np_thread_lock); if (np->np_thread_state >= ISCSI_NP_THREAD_RESET) { spin_unlock_bh(&np->np_thread_lock); - isert_dbg("np_thread_state %d for isert_accept_np\n", + isert_dbg("np_thread_state %d\n", np->np_thread_state); /** * No point in stalling here when np_thread