Skip to contentSkip to conversation

SCSI: fcoe: remove unneeded fcoe_ctlr_destroy_store export

PATCH Applied Greg Kroah-Hartman 3 participants 3 messages Jan 22, 2019 – Jan 29, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI: fcoe: remove unneeded fcoe_ctlr_destroy_store export

There's no need to export fcoe_ctlr_destroy_store as a symbol, so remove the EXPORT_SYMBOL() line for it.

Cc Johannes Thumshirn <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
---
 drivers/scsi/fcoe/fcoe_transport.c | 1 -
 1 file changed, 1 deletion(-)
drivers/scsi/fcoe/fcoe_transport.c +0 -1
index f4909cd206d3..6d3949b687ef 100644
@@ -855,7 +855,6 @@ ssize_t fcoe_ctlr_destroy_store(struct bus_type *bus,
 	mutex_unlock(&ft_mutex);
 	return rc;
 }
-EXPORT_SYMBOL(fcoe_ctlr_destroy_store);
 
 /**
  * fcoe_transport_create() - Create a fcoe interface
Signature · 1 line
2.20.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Greg Kroah-Hartman

There's no need to export fcoe_ctlr_destroy_store as a symbol, so remove the EXPORT_SYMBOL() line for it.

Cc Johannes Thumshirn <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
---
  drivers/scsi/fcoe/fcoe_transport.c | 1 -
  1 file changed, 1 deletion(-)
drivers/scsi/fcoe/fcoe_transport.c +0 -0
index f4909cd206d3..6d3949b687ef 100644

drivers/scsi/fcoe/fcoe_transport.c ssize_t fcoe_ctlr_destroy_store(struct bus_type *bus, · line 860

Quoted 7 lines
drivers/scsi/fcoe/fcoe_transport.c +0 -1
@@ -855,7 +855,6 @@ ssize_t fcoe_ctlr_destroy_store(struct bus_type *bus,
  	mutex_unlock(&ft_mutex);
  	return rc;
  }
-EXPORT_SYMBOL(fcoe_ctlr_destroy_store);
 
  /**
   * fcoe_transport_create() - Create a fcoe interface

Cheers,

Hannes

Signature · 5 lines
Dr. Hannes Reinecke		   Teamlead Storage & Networking
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
#2 lore raw
In reply to Greg Kroah-Hartman

Greg,

Quoted 2 lines

There's no need to export fcoe_ctlr_destroy_store as a symbol, so remove the EXPORT_SYMBOL() line for it.

Applied to 5.1/scsi-queue, thank you!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering