mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
staging: wilc1000: Remove unused function wilc_lock_timeout
Semaphore are going away in the future, so remove the unused function wilc_lock_timeout which calls a semaphore api but has no users. Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f0208b7155
commit
31b15fe626
2 changed files with 0 additions and 12 deletions
|
@ -220,17 +220,6 @@ static void deinit_irq(struct net_device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
int wilc_lock_timeout(struct wilc *nic, void *vp, u32 timeout)
|
||||
{
|
||||
/* FIXME: replace with mutex_lock or wait_for_completion */
|
||||
int error = -1;
|
||||
|
||||
if (vp)
|
||||
error = down_timeout(vp,
|
||||
msecs_to_jiffies(timeout));
|
||||
return error;
|
||||
}
|
||||
|
||||
void wilc_mac_indicate(struct wilc *wilc, int flag)
|
||||
{
|
||||
int status;
|
||||
|
|
|
@ -225,7 +225,6 @@ int wilc1000_wlan_init(struct net_device *dev, struct wilc_vif *vif);
|
|||
|
||||
void wilc_frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
|
||||
void wilc_mac_indicate(struct wilc *wilc, int flag);
|
||||
int wilc_lock_timeout(struct wilc *wilc, void *, u32 timeout);
|
||||
void wilc_netdev_cleanup(struct wilc *wilc);
|
||||
int wilc_netdev_init(struct wilc **wilc, struct device *, int io_type, int gpio,
|
||||
const struct wilc_hif_func *ops);
|
||||
|
|
Loading…
Reference in a new issue