Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
303d5a2a
Commit
303d5a2a
authored
May 22, 2004
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove an unused function from NC53c406a
and here's a variant using #if 0
parent
6d388419
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/scsi/NCR53c406a.c
drivers/scsi/NCR53c406a.c
+2
-1
No files found.
drivers/scsi/NCR53c406a.c
View file @
303d5a2a
...
@@ -170,7 +170,6 @@ enum Phase {
...
@@ -170,7 +170,6 @@ enum Phase {
/* Static function prototypes */
/* Static function prototypes */
static
void
NCR53c406a_intr
(
int
,
void
*
,
struct
pt_regs
*
);
static
void
NCR53c406a_intr
(
int
,
void
*
,
struct
pt_regs
*
);
static
irqreturn_t
do_NCR53c406a_intr
(
int
,
void
*
,
struct
pt_regs
*
);
static
irqreturn_t
do_NCR53c406a_intr
(
int
,
void
*
,
struct
pt_regs
*
);
static
void
wait_intr
(
void
);
static
void
chip_init
(
void
);
static
void
chip_init
(
void
);
static
void
calc_port_addr
(
void
);
static
void
calc_port_addr
(
void
);
#ifndef IRQ_LEV
#ifndef IRQ_LEV
...
@@ -665,6 +664,7 @@ static const char *NCR53c406a_info(struct Scsi_Host *SChost)
...
@@ -665,6 +664,7 @@ static const char *NCR53c406a_info(struct Scsi_Host *SChost)
return
(
info_msg
);
return
(
info_msg
);
}
}
#if 0
static void wait_intr(void)
static void wait_intr(void)
{
{
unsigned long i = jiffies + WATCHDOG;
unsigned long i = jiffies + WATCHDOG;
...
@@ -684,6 +684,7 @@ static void wait_intr(void)
...
@@ -684,6 +684,7 @@ static void wait_intr(void)
NCR53c406a_intr(0, NULL, NULL);
NCR53c406a_intr(0, NULL, NULL);
}
}
#endif
static
int
NCR53c406a_queue
(
Scsi_Cmnd
*
SCpnt
,
void
(
*
done
)
(
Scsi_Cmnd
*
))
static
int
NCR53c406a_queue
(
Scsi_Cmnd
*
SCpnt
,
void
(
*
done
)
(
Scsi_Cmnd
*
))
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment