libertas: make some functions void
They don't return anything meaningfull and no-one cares about their results. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
5f505d9025
commit
a63e5cb22f
|
@ -44,7 +44,7 @@ int lbs_mesh_config(struct lbs_private *priv, uint16_t enable, uint16_t chan);
|
||||||
|
|
||||||
int lbs_host_sleep_cfg(struct lbs_private *priv, uint32_t criteria);
|
int lbs_host_sleep_cfg(struct lbs_private *priv, uint32_t criteria);
|
||||||
int lbs_suspend(struct lbs_private *priv);
|
int lbs_suspend(struct lbs_private *priv);
|
||||||
int lbs_resume(struct lbs_private *priv);
|
void lbs_resume(struct lbs_private *priv);
|
||||||
|
|
||||||
int lbs_cmd_802_11_inactivity_timeout(struct lbs_private *priv,
|
int lbs_cmd_802_11_inactivity_timeout(struct lbs_private *priv,
|
||||||
uint16_t cmd_action, uint16_t *timeout);
|
uint16_t cmd_action, uint16_t *timeout);
|
||||||
|
|
|
@ -64,9 +64,9 @@ void lbs_send_iwevcustom_event(struct lbs_private *priv, s8 *str);
|
||||||
struct chan_freq_power *lbs_get_region_cfp_table(u8 region,
|
struct chan_freq_power *lbs_get_region_cfp_table(u8 region,
|
||||||
int *cfp_no);
|
int *cfp_no);
|
||||||
struct lbs_private *lbs_add_card(void *card, struct device *dmdev);
|
struct lbs_private *lbs_add_card(void *card, struct device *dmdev);
|
||||||
int lbs_remove_card(struct lbs_private *priv);
|
void lbs_remove_card(struct lbs_private *priv);
|
||||||
int lbs_start_card(struct lbs_private *priv);
|
int lbs_start_card(struct lbs_private *priv);
|
||||||
int lbs_stop_card(struct lbs_private *priv);
|
void lbs_stop_card(struct lbs_private *priv);
|
||||||
void lbs_host_to_card_done(struct lbs_private *priv);
|
void lbs_host_to_card_done(struct lbs_private *priv);
|
||||||
|
|
||||||
int lbs_update_channel(struct lbs_private *priv);
|
int lbs_update_channel(struct lbs_private *priv);
|
||||||
|
|
|
@ -889,7 +889,7 @@ int lbs_suspend(struct lbs_private *priv)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(lbs_suspend);
|
EXPORT_SYMBOL_GPL(lbs_suspend);
|
||||||
|
|
||||||
int lbs_resume(struct lbs_private *priv)
|
void lbs_resume(struct lbs_private *priv)
|
||||||
{
|
{
|
||||||
lbs_deb_enter(LBS_DEB_FW);
|
lbs_deb_enter(LBS_DEB_FW);
|
||||||
|
|
||||||
|
@ -905,7 +905,6 @@ int lbs_resume(struct lbs_private *priv)
|
||||||
netif_device_attach(priv->mesh_dev);
|
netif_device_attach(priv->mesh_dev);
|
||||||
|
|
||||||
lbs_deb_leave(LBS_DEB_FW);
|
lbs_deb_leave(LBS_DEB_FW);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(lbs_resume);
|
EXPORT_SYMBOL_GPL(lbs_resume);
|
||||||
|
|
||||||
|
@ -1155,7 +1154,7 @@ done:
|
||||||
EXPORT_SYMBOL_GPL(lbs_add_card);
|
EXPORT_SYMBOL_GPL(lbs_add_card);
|
||||||
|
|
||||||
|
|
||||||
int lbs_remove_card(struct lbs_private *priv)
|
void lbs_remove_card(struct lbs_private *priv)
|
||||||
{
|
{
|
||||||
struct net_device *dev = priv->dev;
|
struct net_device *dev = priv->dev;
|
||||||
union iwreq_data wrqu;
|
union iwreq_data wrqu;
|
||||||
|
@ -1190,7 +1189,6 @@ int lbs_remove_card(struct lbs_private *priv)
|
||||||
free_netdev(dev);
|
free_netdev(dev);
|
||||||
|
|
||||||
lbs_deb_leave(LBS_DEB_MAIN);
|
lbs_deb_leave(LBS_DEB_MAIN);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(lbs_remove_card);
|
EXPORT_SYMBOL_GPL(lbs_remove_card);
|
||||||
|
|
||||||
|
@ -1261,10 +1259,9 @@ done:
|
||||||
EXPORT_SYMBOL_GPL(lbs_start_card);
|
EXPORT_SYMBOL_GPL(lbs_start_card);
|
||||||
|
|
||||||
|
|
||||||
int lbs_stop_card(struct lbs_private *priv)
|
void lbs_stop_card(struct lbs_private *priv)
|
||||||
{
|
{
|
||||||
struct net_device *dev = priv->dev;
|
struct net_device *dev = priv->dev;
|
||||||
int ret = -1;
|
|
||||||
struct cmd_ctrl_node *cmdnode;
|
struct cmd_ctrl_node *cmdnode;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
|
@ -1289,8 +1286,7 @@ int lbs_stop_card(struct lbs_private *priv)
|
||||||
|
|
||||||
unregister_netdev(dev);
|
unregister_netdev(dev);
|
||||||
|
|
||||||
lbs_deb_leave_args(LBS_DEB_MAIN, "ret %d", ret);
|
lbs_deb_leave(LBS_DEB_MAIN);
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(lbs_stop_card);
|
EXPORT_SYMBOL_GPL(lbs_stop_card);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue