Commit 989fbbee authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by James Bottomley

[PATCH] NCR5380.c warning

NCR5380: `phases' is used inside the #ifdef NDEBUG only, so move its definition
inside as well.
parent 5e91bb7c
...@@ -390,6 +390,7 @@ static int NCR5380_poll_politely(struct Scsi_Host *instance, int reg, int bit, i ...@@ -390,6 +390,7 @@ static int NCR5380_poll_politely(struct Scsi_Host *instance, int reg, int bit, i
return -ETIMEDOUT; return -ETIMEDOUT;
} }
#ifdef NDEBUG
static struct { static struct {
unsigned char value; unsigned char value;
const char *name; const char *name;
...@@ -403,7 +404,6 @@ static struct { ...@@ -403,7 +404,6 @@ static struct {
{PHASE_UNKNOWN, "UNKNOWN"} {PHASE_UNKNOWN, "UNKNOWN"}
}; };
#ifdef NDEBUG
static struct { static struct {
unsigned char mask; unsigned char mask;
const char *name; const char *name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment