mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
staging: ks7010: remove unused completion
Driver SDIO code initializes a completion that is never used. It can be safely removed. Remove unused completion. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2e85ccf13a
commit
fa125ae482
2 changed files with 0 additions and 2 deletions
|
@ -952,7 +952,6 @@ static int ks7010_sdio_probe(struct sdio_func *func,
|
||||||
|
|
||||||
/* private memory initialize */
|
/* private memory initialize */
|
||||||
priv->ks_wlan_hw.sdio_card = card;
|
priv->ks_wlan_hw.sdio_card = card;
|
||||||
init_completion(&priv->ks_wlan_hw.ks7010_sdio_wait);
|
|
||||||
priv->ks_wlan_hw.read_buf = NULL;
|
priv->ks_wlan_hw.read_buf = NULL;
|
||||||
priv->ks_wlan_hw.read_buf = kmalloc(RX_DATA_SIZE, GFP_KERNEL);
|
priv->ks_wlan_hw.read_buf = kmalloc(RX_DATA_SIZE, GFP_KERNEL);
|
||||||
if (!priv->ks_wlan_hw.read_buf)
|
if (!priv->ks_wlan_hw.read_buf)
|
||||||
|
|
|
@ -90,7 +90,6 @@
|
||||||
*/
|
*/
|
||||||
struct hw_info_t {
|
struct hw_info_t {
|
||||||
struct ks_sdio_card *sdio_card;
|
struct ks_sdio_card *sdio_card;
|
||||||
struct completion ks7010_sdio_wait;
|
|
||||||
struct workqueue_struct *ks7010sdio_wq;
|
struct workqueue_struct *ks7010sdio_wq;
|
||||||
struct delayed_work rw_wq;
|
struct delayed_work rw_wq;
|
||||||
unsigned char *read_buf;
|
unsigned char *read_buf;
|
||||||
|
|
Loading…
Reference in a new issue