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
25d94a11
Commit
25d94a11
authored
Sep 15, 2016
by
Lee Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfd: cros_ec_spi: Remove unused variable 'request'
Signed-off-by:
Lee Jones
<
lee.jones@linaro.org
>
parent
c7c76277
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
drivers/mfd/cros_ec_spi.c
drivers/mfd/cros_ec_spi.c
+0
-2
No files found.
drivers/mfd/cros_ec_spi.c
View file @
25d94a11
...
...
@@ -366,7 +366,6 @@ static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev,
static
int
cros_ec_pkt_xfer_spi
(
struct
cros_ec_device
*
ec_dev
,
struct
cros_ec_command
*
ec_msg
)
{
struct
ec_host_request
*
request
;
struct
ec_host_response
*
response
;
struct
cros_ec_spi
*
ec_spi
=
ec_dev
->
priv
;
struct
spi_transfer
trans
,
trans_delay
;
...
...
@@ -378,7 +377,6 @@ static int cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev,
int
ret
=
0
,
final_ret
;
len
=
cros_ec_prepare_tx
(
ec_dev
,
ec_msg
);
request
=
(
struct
ec_host_request
*
)
ec_dev
->
dout
;
dev_dbg
(
ec_dev
->
dev
,
"prepared, len=%d
\n
"
,
len
);
/* If it's too soon to do another transaction, wait */
...
...
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