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
nexedi
linux
Commits
ffe63c1e
Commit
ffe63c1e
authored
Sep 07, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Sep 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] (20/25) cdu31a.c cleanup
minor cleanup in cdu31a.c
parent
ac26e454
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
drivers/cdrom/cdu31a.c
drivers/cdrom/cdu31a.c
+3
-13
No files found.
drivers/cdrom/cdu31a.c
View file @
ffe63c1e
...
@@ -331,12 +331,11 @@ static struct timer_list cdu31a_abort_timer;
...
@@ -331,12 +331,11 @@ static struct timer_list cdu31a_abort_timer;
from the abort read. */
from the abort read. */
static
int
abort_read_started
=
0
;
static
int
abort_read_started
=
0
;
/*
/*
*
This routine returns 1 if the disk has been changed since the last
*
Uniform cdrom interface function
*
check or 0 if it hasn'
t.
*
report back, if disc has changed from time of last reques
t.
*/
*/
static
int
scd_
disk_change
(
kdev_t
full_dev
)
static
int
scd_
media_changed
(
struct
cdrom_device_info
*
cdi
,
int
disc_nr
)
{
{
int
retval
;
int
retval
;
...
@@ -346,15 +345,6 @@ static int scd_disk_change(kdev_t full_dev)
...
@@ -346,15 +345,6 @@ static int scd_disk_change(kdev_t full_dev)
return
retval
;
return
retval
;
}
}
/*
* Uniform cdrom interface function
* report back, if disc has changed from time of last request.
*/
static
int
scd_media_changed
(
struct
cdrom_device_info
*
cdi
,
int
disc_nr
)
{
return
scd_disk_change
(
cdi
->
dev
);
}
/*
/*
* Uniform cdrom interface function
* Uniform cdrom interface function
* report back, if drive is ready
* report back, if drive is ready
...
...
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