diff mbox series

SCSI: fcoe: remove unneeded fcoe_ctlr_destroy_store export

Message ID 20190122142818.GC18225@kroah.com (mailing list archive)
State Mainlined
Commit 6156dc1c9a3074dea0f24dd9c80711392147b58f
Headers show
Series SCSI: fcoe: remove unneeded fcoe_ctlr_destroy_store export | expand

Commit Message

Greg Kroah-Hartman Jan. 22, 2019, 2:28 p.m. UTC
There's no need to export fcoe_ctlr_destroy_store as a symbol, so remove
the EXPORT_SYMBOL() line for it.

Cc: Johannes Thumshirn <jth@kernel.org>
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/scsi/fcoe/fcoe_transport.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Hannes Reinecke Jan. 24, 2019, 7:54 a.m. UTC | #1
On 1/22/19 3:28 PM, Greg Kroah-Hartman wrote:
> There's no need to export fcoe_ctlr_destroy_store as a symbol, so remove
> the EXPORT_SYMBOL() line for it.
> 
> Cc: Johannes Thumshirn <jth@kernel.org>
> Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
> Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---
>   drivers/scsi/fcoe/fcoe_transport.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c
> index f4909cd206d3..6d3949b687ef 100644
> --- a/drivers/scsi/fcoe/fcoe_transport.c
> +++ b/drivers/scsi/fcoe/fcoe_transport.c
> @@ -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
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
Martin K. Petersen Jan. 29, 2019, 5:31 a.m. UTC | #2
Greg,

> 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!
diff mbox series

Patch

diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c
index f4909cd206d3..6d3949b687ef 100644
--- a/drivers/scsi/fcoe/fcoe_transport.c
+++ b/drivers/scsi/fcoe/fcoe_transport.c
@@ -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