Skip to content

Commit

Permalink
[SCSI] fcoe: don't export functions that are internal to fcoe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Leech authored and James Bottomley committed Apr 27, 2009
1 parent 3caf02e commit fc224a5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/scsi/fcoe/fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,6 @@ int fcoe_rcv(struct sk_buff *skb, struct net_device *dev,
kfree_skb(skb);
return -1;
}
EXPORT_SYMBOL_GPL(fcoe_rcv);

/**
* fcoe_start_io() - pass to netdev to start xmit for fcoe
Expand Down Expand Up @@ -1123,7 +1122,6 @@ int fcoe_xmit(struct fc_lport *lp, struct fc_frame *fp)

return 0;
}
EXPORT_SYMBOL_GPL(fcoe_xmit);

/**
* fcoe_percpu_receive_thread() - recv thread per cpu
Expand Down Expand Up @@ -1652,7 +1650,6 @@ int fcoe_link_ok(struct fc_lport *lp)

return rc;
}
EXPORT_SYMBOL_GPL(fcoe_link_ok);

/**
* fcoe_percpu_clean() - Clear the pending skbs for an lport
Expand Down Expand Up @@ -1684,7 +1681,6 @@ void fcoe_percpu_clean(struct fc_lport *lp)
spin_unlock_bh(&pp->fcoe_rx_list.lock);
}
}
EXPORT_SYMBOL_GPL(fcoe_percpu_clean);

/**
* fcoe_clean_pending_queue() - Dequeue a skb and free it
Expand All @@ -1705,7 +1701,6 @@ void fcoe_clean_pending_queue(struct fc_lport *lp)
}
spin_unlock_bh(&fc->fcoe_pending_queue.lock);
}
EXPORT_SYMBOL_GPL(fcoe_clean_pending_queue);

/**
* fcoe_reset() - Resets the fcoe
Expand All @@ -1719,7 +1714,6 @@ int fcoe_reset(struct Scsi_Host *shost)
fc_lport_reset(lport);
return 0;
}
EXPORT_SYMBOL_GPL(fcoe_reset);

/**
* fcoe_hostlist_lookup_softc() - find the corresponding lport by a given device
Expand Down Expand Up @@ -1757,7 +1751,6 @@ struct fc_lport *fcoe_hostlist_lookup(const struct net_device *netdev)

return (fc) ? fc->ctlr.lp : NULL;
}
EXPORT_SYMBOL_GPL(fcoe_hostlist_lookup);

/**
* fcoe_hostlist_add() - Add a lport to lports list
Expand All @@ -1778,7 +1771,6 @@ int fcoe_hostlist_add(const struct fc_lport *lp)
}
return 0;
}
EXPORT_SYMBOL_GPL(fcoe_hostlist_add);

/**
* fcoe_hostlist_remove() - remove a lport from lports list
Expand All @@ -1798,7 +1790,6 @@ int fcoe_hostlist_remove(const struct fc_lport *lp)

return 0;
}
EXPORT_SYMBOL_GPL(fcoe_hostlist_remove);

/**
* fcoe_init() - fcoe module loading initialization
Expand Down

0 comments on commit fc224a5

Please sign in to comment.