[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427394163-3074-1-git-send-email-niranjan.dighe@gmail.com>
Date: Thu, 26 Mar 2015 23:52:43 +0530
From: Niranjan Dighe <niranjan.dighe@...il.com>
To: gregkh@...uxfoundation.org
Cc: liodot@...il.com, charrer@...critech.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Niranjan Dighe <niranjan.dighe@...il.com>
Subject: [PATCH v2 2/2] Staging: slicoss: Get rid of redundant pointer variable
Replace string directly in place of format string and remove pointer
variable which was used just once.
Signed-off-by: Niranjan Dighe <niranjan.dighe@...il.com>
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index c2bda1d..f3110f7 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -98,7 +98,6 @@
#include "slic.h"
static uint slic_first_init = 1;
-static char *slic_banner = "Alacritech SLIC Technology(tm) Server and Storage Accelerator (Non-Accelerated)";
static char *slic_proc_version = "2.0.351 2006/07/14 12:26:00";
@@ -3046,7 +3045,8 @@ static int slic_entry_probe(struct pci_dev *pcidev,
return err;
if (did_version++ == 0) {
- dev_info(&pcidev->dev, "%s\n", slic_banner);
+ dev_info(&pcidev->dev,
+ "Alacritech SLIC Technology(tm) Server and Storage Accelerator (Non-Accelerated)\n");
dev_info(&pcidev->dev, "%s\n", slic_proc_version);
}
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists