[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1435517285-13411-1-git-send-email-rudhresh.jk@gmail.com>
Date: Mon, 29 Jun 2015 00:18:05 +0530
From: Rudhresh <rudhresh.jk@...il.com>
To: schmitzmic@...il.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Rudhresh <rudhresh.jk@...il.com>,
Rudhresh Kumar J <rudhreshj@...c.in>
Subject: [PATCH] SCSI: DTC: Removed 0 initialization for statics
Removed unneccessary initialization of zero to a static variable
Signed-off-by: Rudhresh Kumar J <rudhreshj@...c.in>
---
drivers/scsi/dtc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c
index 4c74c7b..99164d6 100644
--- a/drivers/scsi/dtc.c
+++ b/drivers/scsi/dtc.c
@@ -150,7 +150,7 @@ static const struct signature {
static int __init dtc_setup(char *str)
{
- static int commandline_current = 0;
+ static int commandline_current;
int i;
int ints[10];
@@ -188,7 +188,7 @@ __setup("dtc=", dtc_setup);
static int __init dtc_detect(struct scsi_host_template * tpnt)
{
- static int current_override = 0, current_base = 0;
+ static int current_override, current_base;
struct Scsi_Host *instance;
unsigned int addr;
void __iomem *base;
--
1.8.4.5
--
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