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
8d253320
Commit
8d253320
authored
Dec 26, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
igb: Fix build warning when DCA is disabled.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
2d5451d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/net/igb/igb_main.c
drivers/net/igb/igb_main.c
+1
-2
No files found.
drivers/net/igb/igb_main.c
View file @
8d253320
...
@@ -3379,7 +3379,6 @@ static void igb_write_itr(struct igb_ring *ring)
...
@@ -3379,7 +3379,6 @@ static void igb_write_itr(struct igb_ring *ring)
static
irqreturn_t
igb_msix_rx
(
int
irq
,
void
*
data
)
static
irqreturn_t
igb_msix_rx
(
int
irq
,
void
*
data
)
{
{
struct
igb_ring
*
rx_ring
=
data
;
struct
igb_ring
*
rx_ring
=
data
;
struct
igb_adapter
*
adapter
=
rx_ring
->
adapter
;
/* Write the ITR value calculated at the end of the
/* Write the ITR value calculated at the end of the
* previous interrupt.
* previous interrupt.
...
@@ -3391,7 +3390,7 @@ static irqreturn_t igb_msix_rx(int irq, void *data)
...
@@ -3391,7 +3390,7 @@ static irqreturn_t igb_msix_rx(int irq, void *data)
__netif_rx_schedule
(
&
rx_ring
->
napi
);
__netif_rx_schedule
(
&
rx_ring
->
napi
);
#ifdef CONFIG_IGB_DCA
#ifdef CONFIG_IGB_DCA
if
(
adapter
->
flags
&
IGB_FLAG_DCA_ENABLED
)
if
(
rx_ring
->
adapter
->
flags
&
IGB_FLAG_DCA_ENABLED
)
igb_update_rx_dca
(
rx_ring
);
igb_update_rx_dca
(
rx_ring
);
#endif
#endif
return
IRQ_HANDLED
;
return
IRQ_HANDLED
;
...
...
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