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
ebb339a5
Commit
ebb339a5
authored
Apr 11, 2018
by
Corey Minyard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipmi_ssif: Get rid of unused intf_num
Signed-off-by:
Corey Minyard
<
cminyard@mvista.com
>
parent
5ce1a7dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
drivers/char/ipmi/ipmi_ssif.c
drivers/char/ipmi/ipmi_ssif.c
+0
-5
No files found.
drivers/char/ipmi/ipmi_ssif.c
View file @
ebb339a5
...
...
@@ -194,7 +194,6 @@ typedef void (*ssif_i2c_done)(struct ssif_info *ssif_info, int result,
struct
ssif_info
{
struct
ipmi_smi
*
intf
;
int
intf_num
;
spinlock_t
lock
;
struct
ipmi_smi_msg
*
waiting_msg
;
struct
ipmi_smi_msg
*
curr_msg
;
...
...
@@ -290,8 +289,6 @@ struct ssif_info {
static
bool
initialized
;
static
atomic_t
next_intf
=
ATOMIC_INIT
(
0
);
static
void
return_hosed_msg
(
struct
ssif_info
*
ssif_info
,
struct
ipmi_smi_msg
*
msg
);
static
void
start_next_msg
(
struct
ssif_info
*
ssif_info
,
unsigned
long
*
flags
);
...
...
@@ -1663,8 +1660,6 @@ static int ssif_probe(struct i2c_client *client, const struct i2c_device_id *id)
}
found:
ssif_info
->
intf_num
=
atomic_inc_return
(
&
next_intf
);
if
(
ssif_dbg_probe
)
{
pr_info
(
"ssif_probe: i2c_probe found device at i2c address %x
\n
"
,
client
->
addr
);
...
...
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