LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Fabian Frederick <fabf@skynet.be>
To: linux-kernel@vger.kernel.org
Cc: Fabian Frederick <fabf@skynet.be>,
	Roland Dreier <roland@kernel.org>,
	Sean Hefty <sean.hefty@intel.com>,
	Hal Rosenstock <hal.rosenstock@gmail.com>,
	linux-rdma@vger.kernel.org
Subject: [PATCH 3/5 linux-next] IB/mlx4: remove unneccessary message level.
Date: Mon, 30 Mar 2015 22:06:06 +0200	[thread overview]
Message-ID: <1427745969-12959-3-git-send-email-fabf@skynet.be> (raw)
In-Reply-To: <1427745969-12959-1-git-send-email-fabf@skynet.be>

KERN_WARNING is implicitely declared in pr_warn()

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 drivers/infiniband/hw/mlx4/main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c
index b972c0b..1298fe8 100644
--- a/drivers/infiniband/hw/mlx4/main.c
+++ b/drivers/infiniband/hw/mlx4/main.c
@@ -1568,8 +1568,7 @@ static void reset_gids_task(struct work_struct *work)
 			       MLX4_CMD_TIME_CLASS_B,
 			       MLX4_CMD_WRAPPED);
 		if (err)
-			pr_warn(KERN_WARNING
-				"set port %d command failed\n", gw->port);
+			pr_warn("set port %d command failed\n", gw->port);
 	}
 
 	mlx4_free_cmd_mailbox(dev, mailbox);
-- 
1.9.1


  parent reply	other threads:[~2015-03-30 20:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 20:06 [PATCH 1/5 linux-next] IB/mlx5: " Fabian Frederick
2015-03-30 20:06 ` [PATCH 2/5 linux-next] iw_cxgb4: " Fabian Frederick
2015-03-30 20:17   ` Steve Wise
2015-03-30 20:06 ` Fabian Frederick [this message]
2015-03-30 20:06 ` [PATCH 4/5 linux-next] fotg210-hcd: " Fabian Frederick
2015-03-30 20:06 ` [PATCH 5/5 linux-next] tpm_ibmvtpm: " Fabian Frederick
2015-03-30 20:42   ` Peter Hüwe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1427745969-12959-3-git-send-email-fabf@skynet.be \
    --to=fabf@skynet.be \
    --cc=hal.rosenstock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=roland@kernel.org \
    --cc=sean.hefty@intel.com \
    --subject='Re: [PATCH 3/5 linux-next] IB/mlx4: remove unneccessary message level.' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).