Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753934AbbD2SVl (ORCPT ); Wed, 29 Apr 2015 14:21:41 -0400 Received: from mailrelay103.isp.belgacom.be ([195.238.20.130]:51834 "EHLO mailrelay103.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753800AbbD2SVj (ORCPT ); Wed, 29 Apr 2015 14:21:39 -0400 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=ZT6Ny9SzQUL0U4sOn6xM6rLbT25dGdPOAe/imaXRw80= c=1 sm=2 a=KBfaf7ZDLFpCgpW1xi0A:9 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CmDwBmIEFV/+PL8VFcgwyBL7QLBQEBAQEBAQUBgQKYPAQCgUZNAQEBAQEBgQtBBYQ3I4EaN4gvAcg0hhaJQmUdhBcFnDKML4lJI2BmAYIvPDGBAoFDAQEB From: Fabian Frederick To: linux-kernel@vger.kernel.org Cc: Fabian Frederick , QLogic-Storage-Upstream@qlogic.com, "James E.J. Bottomley" , linux-scsi@vger.kernel.org Subject: [PATCH 1/1 linux-next] bnx2fc: make bnx2fc_global_lock static Date: Wed, 29 Apr 2015 20:21:15 +0200 Message-Id: <1430331675-26139-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 996 Lines: 28 bnx2fc_global_lock is only used in bnx2fc_fcoe.c Signed-off-by: Fabian Frederick --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index 98d06d1..66fb527 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c @@ -49,7 +49,7 @@ struct workqueue_struct *bnx2fc_wq; * Here the io threads are per cpu but the l2 thread is just one */ struct fcoe_percpu_s bnx2fc_global; -DEFINE_SPINLOCK(bnx2fc_global_lock); +static DEFINE_SPINLOCK(bnx2fc_global_lock); static struct cnic_ulp_ops bnx2fc_cnic_cb; static struct libfc_function_template bnx2fc_libfc_fcn_templ; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/