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
35c26f4f
Commit
35c26f4f
authored
Aug 30, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MMC] Remove unused host->priv
parent
bb64ab54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
drivers/mmc/mmc.c
drivers/mmc/mmc.c
+0
-2
include/linux/mmc/host.h
include/linux/mmc/host.h
+0
-1
No files found.
drivers/mmc/mmc.c
View file @
35c26f4f
...
...
@@ -715,8 +715,6 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
if
(
host
)
{
memset
(
host
,
0
,
sizeof
(
struct
mmc_host
)
+
extra
);
host
->
priv
=
host
+
1
;
spin_lock_init
(
&
host
->
lock
);
init_waitqueue_head
(
&
host
->
wq
);
INIT_LIST_HEAD
(
&
host
->
cards
);
...
...
include/linux/mmc/host.h
View file @
35c26f4f
...
...
@@ -64,7 +64,6 @@ struct device;
struct
mmc_host
{
struct
device
*
dev
;
struct
mmc_host_ops
*
ops
;
void
*
priv
;
unsigned
int
f_min
;
unsigned
int
f_max
;
u32
ocr_avail
;
...
...
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