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
63722966
Commit
63722966
authored
May 19, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
be2net: Kill set but unused variable 'req' in lancer_fw_download()
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
fa7479cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
drivers/net/benet/be_main.c
drivers/net/benet/be_main.c
+0
-2
No files found.
drivers/net/benet/be_main.c
View file @
63722966
...
@@ -2736,7 +2736,6 @@ static int lancer_fw_download(struct be_adapter *adapter,
...
@@ -2736,7 +2736,6 @@ static int lancer_fw_download(struct be_adapter *adapter,
#define LANCER_FW_DOWNLOAD_CHUNK (32 * 1024)
#define LANCER_FW_DOWNLOAD_CHUNK (32 * 1024)
#define LANCER_FW_DOWNLOAD_LOCATION "/prg"
#define LANCER_FW_DOWNLOAD_LOCATION "/prg"
struct
be_dma_mem
flash_cmd
;
struct
be_dma_mem
flash_cmd
;
struct
lancer_cmd_req_write_object
*
req
;
const
u8
*
data_ptr
=
NULL
;
const
u8
*
data_ptr
=
NULL
;
u8
*
dest_image_ptr
=
NULL
;
u8
*
dest_image_ptr
=
NULL
;
size_t
image_size
=
0
;
size_t
image_size
=
0
;
...
@@ -2765,7 +2764,6 @@ static int lancer_fw_download(struct be_adapter *adapter,
...
@@ -2765,7 +2764,6 @@ static int lancer_fw_download(struct be_adapter *adapter,
goto
lancer_fw_exit
;
goto
lancer_fw_exit
;
}
}
req
=
flash_cmd
.
va
;
dest_image_ptr
=
flash_cmd
.
va
+
dest_image_ptr
=
flash_cmd
.
va
+
sizeof
(
struct
lancer_cmd_req_write_object
);
sizeof
(
struct
lancer_cmd_req_write_object
);
image_size
=
fw
->
size
;
image_size
=
fw
->
size
;
...
...
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