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
8514206e
Commit
8514206e
authored
Jun 23, 2003
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove superfluous debugging in mtd_blkdevs.c
parent
51ec3922
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
drivers/mtd/mtd_blkdevs.c
drivers/mtd/mtd_blkdevs.c
+1
-5
No files found.
drivers/mtd/mtd_blkdevs.c
View file @
8514206e
/*
* $Id: mtd_blkdevs.c,v 1.1
5 2003/06/23 12:00:08
dwmw2 Exp $
* $Id: mtd_blkdevs.c,v 1.1
6 2003/06/23 13:34:43
dwmw2 Exp $
*
* (C) 2003 David Woodhouse <dwmw2@infradead.org>
*
...
...
@@ -344,8 +344,6 @@ void blktrans_notify_add(struct mtd_info *mtd)
if
(
mtd
->
type
==
MTD_ABSENT
)
return
;
printk
(
"%s:%s %d: count %d
\n
"
,
__FILE__
,
__func__
,
__LINE__
,
atomic_read
(
&
mtd_table_mutex
.
count
));
list_for_each
(
this
,
&
blktrans_majors
)
{
struct
mtd_blktrans_ops
*
tr
=
list_entry
(
this
,
struct
mtd_blktrans_ops
,
list
);
...
...
@@ -408,8 +406,6 @@ int register_mtd_blktrans(struct mtd_blktrans_ops *tr)
INIT_LIST_HEAD
(
&
tr
->
devs
);
list_add
(
&
tr
->
list
,
&
blktrans_majors
);
printk
(
"%s:%s %d: count %d
\n
"
,
__FILE__
,
__func__
,
__LINE__
,
atomic_read
(
&
mtd_table_mutex
.
count
));
for
(
i
=
0
;
i
<
MAX_MTD_DEVICES
;
i
++
)
{
if
(
mtd_table
[
i
]
&&
mtd_table
[
i
]
->
type
!=
MTD_ABSENT
)
tr
->
add_mtd
(
tr
,
mtd_table
[
i
]);
...
...
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