All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] IB/mlx4: Remove unnecessary KERN_WARNING
@ 2015-01-10  1:25 Masanari Iida
  0 siblings, 0 replies; only message in thread
From: Masanari Iida @ 2015-01-10  1:25 UTC (permalink / raw)
  To: roland, sean.hefty, hal.rosenstock, linux-kernel; +Cc: Masanari Iida

This patch remove unnecessary KERN_WARNING from pr_warn.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 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 57ecc5b..6e15136 100644
--- a/drivers/infiniband/hw/mlx4/main.c
+++ b/drivers/infiniband/hw/mlx4/main.c
@@ -1493,8 +1493,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);
-- 
2.2.1.268.g1e6f5b2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-10  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-10  1:25 [PATCH] IB/mlx4: Remove unnecessary KERN_WARNING Masanari Iida

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.