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
6c8eef4a
Commit
6c8eef4a
authored
Jan 09, 2012
by
Ben Hutchings
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sfc: Remove redundant 'rc' variable, always set to 0
Signed-off-by:
Ben Hutchings
<
bhutchings@solarflare.com
>
parent
2aa9ef11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.c
+1
-2
No files found.
drivers/net/ethernet/sfc/efx.c
View file @
6c8eef4a
...
@@ -1793,7 +1793,6 @@ static void efx_watchdog(struct net_device *net_dev)
...
@@ -1793,7 +1793,6 @@ static void efx_watchdog(struct net_device *net_dev)
static
int
efx_change_mtu
(
struct
net_device
*
net_dev
,
int
new_mtu
)
static
int
efx_change_mtu
(
struct
net_device
*
net_dev
,
int
new_mtu
)
{
{
struct
efx_nic
*
efx
=
netdev_priv
(
net_dev
);
struct
efx_nic
*
efx
=
netdev_priv
(
net_dev
);
int
rc
=
0
;
EFX_ASSERT_RESET_SERIALISED
(
efx
);
EFX_ASSERT_RESET_SERIALISED
(
efx
);
...
@@ -1816,7 +1815,7 @@ static int efx_change_mtu(struct net_device *net_dev, int new_mtu)
...
@@ -1816,7 +1815,7 @@ static int efx_change_mtu(struct net_device *net_dev, int new_mtu)
efx_init_channels
(
efx
);
efx_init_channels
(
efx
);
efx_start_all
(
efx
);
efx_start_all
(
efx
);
return
rc
;
return
0
;
}
}
static
int
efx_set_mac_address
(
struct
net_device
*
net_dev
,
void
*
data
)
static
int
efx_set_mac_address
(
struct
net_device
*
net_dev
,
void
*
data
)
...
...
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