e1000e: use static params to save stack space (part 2)
A couple stack cleanups missed in an earlier patch from Jesse. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Cc: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
bf47f4b0ba
commit
4fe4491fc5
@@ -286,7 +286,7 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
{ /* Receive Interrupt Delay */
|
{ /* Receive Interrupt Delay */
|
||||||
struct e1000_option opt = {
|
static struct e1000_option opt = {
|
||||||
.type = range_option,
|
.type = range_option,
|
||||||
.name = "Receive Interrupt Delay",
|
.name = "Receive Interrupt Delay",
|
||||||
.err = "using default of "
|
.err = "using default of "
|
||||||
@@ -386,7 +386,7 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
{ /* Interrupt Mode */
|
{ /* Interrupt Mode */
|
||||||
struct e1000_option opt = {
|
static struct e1000_option opt = {
|
||||||
.type = range_option,
|
.type = range_option,
|
||||||
.name = "Interrupt Mode",
|
.name = "Interrupt Mode",
|
||||||
.err = "defaulting to 2 (MSI-X)",
|
.err = "defaulting to 2 (MSI-X)",
|
||||||
|
Reference in New Issue
Block a user