From patchwork Tue May 11 00:59:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kirsher, Jeffrey T" X-Patchwork-Id: 52257 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id A3FCBB7D76 for ; Tue, 11 May 2010 10:59:35 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757404Ab0EKA7a (ORCPT ); Mon, 10 May 2010 20:59:30 -0400 Received: from qmta08.emeryville.ca.mail.comcast.net ([76.96.30.80]:38446 "EHLO qmta08.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754266Ab0EKA73 (ORCPT ); Mon, 10 May 2010 20:59:29 -0400 Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta08.emeryville.ca.mail.comcast.net with comcast id FnVP1e0041Y3wxoA80zV8C; Tue, 11 May 2010 00:59:29 +0000 Received: from localhost.localdomain ([63.64.152.142]) by omta15.emeryville.ca.mail.comcast.net with comcast id G0zB1e00434bfcX8b0zDMP; Tue, 11 May 2010 00:59:27 +0000 From: Jeff Kirsher Subject: [net-next-2.6 PATCH 01/12] e1000e: use static params to save stack space (part 2) To: davem@davemloft.net Cc: netdev@vger.kernel.org, gospo@redhat.com, Bruce Allan , Jesse Brandeburg , Jeff Kirsher Date: Mon, 10 May 2010 17:59:10 -0700 Message-ID: <20100511005801.30827.50808.stgit@localhost.localdomain> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Bruce Allan A couple stack cleanups missed in an earlier patch from Jesse. Signed-off-by: Bruce Allan Cc: Jesse Brandeburg Signed-off-by: Jeff Kirsher --- drivers/net/e1000e/param.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/e1000e/param.c b/drivers/net/e1000e/param.c index 0f4077c..a150e48 100644 --- a/drivers/net/e1000e/param.c +++ b/drivers/net/e1000e/param.c @@ -286,7 +286,7 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter) } } { /* Receive Interrupt Delay */ - struct e1000_option opt = { + static struct e1000_option opt = { .type = range_option, .name = "Receive Interrupt Delay", .err = "using default of " @@ -386,7 +386,7 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter) } } { /* Interrupt Mode */ - struct e1000_option opt = { + static struct e1000_option opt = { .type = range_option, .name = "Interrupt Mode", .err = "defaulting to 2 (MSI-X)",