浏览代码

[SCSI] fcoe: don't export functions that are internal to fcoe

These probably never should have been exported.
If they were needed outside of the fcoe module, they
would have been moved to libfcoe.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Chris Leech 16 年之前
父节点
当前提交
fc224a5bc9
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      drivers/scsi/fcoe/fcoe.c

+ 0 - 9
drivers/scsi/fcoe/fcoe.c

@@ -884,7 +884,6 @@ err2:
 	kfree_skb(skb);
 	kfree_skb(skb);
 	return -1;
 	return -1;
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_rcv);
 
 
 /**
 /**
  * fcoe_start_io() - pass to netdev to start xmit for fcoe
  * fcoe_start_io() - pass to netdev to start xmit for fcoe
@@ -1123,7 +1122,6 @@ int fcoe_xmit(struct fc_lport *lp, struct fc_frame *fp)
 
 
 	return 0;
 	return 0;
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_xmit);
 
 
 /**
 /**
  * fcoe_percpu_receive_thread() - recv thread per cpu
  * fcoe_percpu_receive_thread() - recv thread per cpu
@@ -1652,7 +1650,6 @@ int fcoe_link_ok(struct fc_lport *lp)
 
 
 	return rc;
 	return rc;
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_link_ok);
 
 
 /**
 /**
  * fcoe_percpu_clean() - Clear the pending skbs for an lport
  * fcoe_percpu_clean() - Clear the pending skbs for an lport
@@ -1684,7 +1681,6 @@ void fcoe_percpu_clean(struct fc_lport *lp)
 		spin_unlock_bh(&pp->fcoe_rx_list.lock);
 		spin_unlock_bh(&pp->fcoe_rx_list.lock);
 	}
 	}
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_percpu_clean);
 
 
 /**
 /**
  * fcoe_clean_pending_queue() - Dequeue a skb and free it
  * fcoe_clean_pending_queue() - Dequeue a skb and free it
@@ -1705,7 +1701,6 @@ void fcoe_clean_pending_queue(struct fc_lport *lp)
 	}
 	}
 	spin_unlock_bh(&fc->fcoe_pending_queue.lock);
 	spin_unlock_bh(&fc->fcoe_pending_queue.lock);
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_clean_pending_queue);
 
 
 /**
 /**
  * fcoe_reset() - Resets the fcoe
  * fcoe_reset() - Resets the fcoe
@@ -1719,7 +1714,6 @@ int fcoe_reset(struct Scsi_Host *shost)
 	fc_lport_reset(lport);
 	fc_lport_reset(lport);
 	return 0;
 	return 0;
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_reset);
 
 
 /**
 /**
  * fcoe_hostlist_lookup_softc() - find the corresponding lport by a given device
  * fcoe_hostlist_lookup_softc() - find the corresponding lport by a given device
@@ -1757,7 +1751,6 @@ struct fc_lport *fcoe_hostlist_lookup(const struct net_device *netdev)
 
 
 	return (fc) ? fc->ctlr.lp : NULL;
 	return (fc) ? fc->ctlr.lp : NULL;
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_hostlist_lookup);
 
 
 /**
 /**
  * fcoe_hostlist_add() - Add a lport to lports list
  * fcoe_hostlist_add() - Add a lport to lports list
@@ -1778,7 +1771,6 @@ int fcoe_hostlist_add(const struct fc_lport *lp)
 	}
 	}
 	return 0;
 	return 0;
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_hostlist_add);
 
 
 /**
 /**
  * fcoe_hostlist_remove() - remove a lport from lports list
  * fcoe_hostlist_remove() - remove a lport from lports list
@@ -1798,7 +1790,6 @@ int fcoe_hostlist_remove(const struct fc_lport *lp)
 
 
 	return 0;
 	return 0;
 }
 }
-EXPORT_SYMBOL_GPL(fcoe_hostlist_remove);
 
 
 /**
 /**
  * fcoe_init() - fcoe module loading initialization
  * fcoe_init() - fcoe module loading initialization