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
c673caf6
Commit
c673caf6
authored
Oct 12, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: remove unneeded MOD_INC and MOD_DEC calls.
parent
6ab5c9ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
drivers/i2c/algos/i2c-algo-ite.c
drivers/i2c/algos/i2c-algo-ite.c
+0
-7
No files found.
drivers/i2c/algos/i2c-algo-ite.c
View file @
c673caf6
...
...
@@ -779,10 +779,6 @@ int i2c_iic_add_bus(struct i2c_adapter *adap)
adap
->
retries
=
3
;
/* be replaced by defines */
adap
->
flags
=
0
;
#ifdef MODULE
MOD_INC_USE_COUNT
;
#endif
i2c_add_adapter
(
adap
);
iic_init
(
iic_adap
);
...
...
@@ -815,9 +811,6 @@ int i2c_iic_del_bus(struct i2c_adapter *adap)
return
res
;
DEB2
(
printk
(
"i2c-algo-ite: adapter unregistered: %s
\n
"
,
adap
->
name
));
#ifdef MODULE
MOD_DEC_USE_COUNT
;
#endif
return
0
;
}
...
...
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