Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754985AbcDMSTI (ORCPT ); Wed, 13 Apr 2016 14:19:08 -0400 Received: from mta01.ornl.gov ([128.219.177.14]:36672 "EHLO mta01.ornl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754569AbcDMSTG convert rfc822-to-8bit (ORCPT ); Wed, 13 Apr 2016 14:19:06 -0400 X-SG: RELAYLIST X-IronPort-AV: E=Sophos;i="5.24,480,1454994000"; d="scan'208";a="125756169" From: "Simmons, James A." To: "'Iban Rodriguez'" , Oleg Drokin , Andreas Dilger , "Greg Kroah-Hartman" , Arnd Bergmann , Shraddha Barke , Dmitry Eremin , Mike Rapoport , "Julia Lawall" CC: "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "lustre-devel@lists.lustre.org" Subject: RE: Staging: lustre: Make lustre_profile_list static Thread-Topic: Staging: lustre: Make lustre_profile_list static Thread-Index: AQHRlP+7qxr986wm60+/BmI6ZknheJ+IN60A Date: Wed, 13 Apr 2016 18:18:56 +0000 Message-ID: References: <1460495314-31976-1-git-send-email-iban.rodriguez@ono.com> In-Reply-To: <1460495314-31976-1-git-send-email-iban.rodriguez@ono.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [128.219.12.132] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 31 >Variable lustre_profile_list is only used inside obd_config.c, >better make it static > >Signed-off-by: Iban Rodriguez Acked-by: James Simmons >--- > drivers/staging/lustre/lustre/obdclass/obd_config.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/obdclass/obd_config.c b/drivers/staging/lustre/lustre/obdclass/obd_config.c index 5395e994deab..8d484633b83a 100644 --- a/drivers/staging/lustre/lustre/obdclass/obd_config.c +++ b/drivers/staging/lustre/lustre/obdclass/obd_config.c @@ -606,7 +606,7 @@ static int class_del_conn(struct obd_device *obd, struct lustre_cfg *lcfg) return rc; } -LIST_HEAD(lustre_profile_list); +static LIST_HEAD(lustre_profile_list); struct lustre_profile *class_get_profile(const char *prof) { -- 1.9.1 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel