diff options
author | Glen Lee <glen.lee@atmel.com> | 2015-09-24 18:15:05 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 02:39:59 +0200 |
commit | b002e20d53c80b4071b267e1be776bfccf9676de (patch) | |
tree | 530c12f3e66a2ed0f66a36551cedc5eb68a936ad /drivers/staging/wilc1000/wilc_wlan_if.h | |
parent | d2bfac009ca2ea75befe5adde9ba8fd46e409c91 (diff) |
staging: wilc1000: remove function pointer os_wait
This patch removes function pointer os_wait which is pointer of
linux_wlan_lock_timeout and just call the real name function directly.
Remove also static from linux_wlan_lock_timeout declaration.
As os_wait is deleted, structure wilc_wlan_os_func_t is useless. Delete
wilc_wlan_os_func_t, os_func and it's related codes.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan_if.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_if.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h index 0a377e107fa9..2d6e0cef20d6 100644 --- a/drivers/staging/wilc1000/wilc_wlan_if.h +++ b/drivers/staging/wilc1000/wilc_wlan_if.h @@ -75,10 +75,6 @@ typedef struct { } sdio_cmd53_t; typedef struct { - int (*os_wait)(void *, u32); -} wilc_wlan_os_func_t; - -typedef struct { int io_type; int (*io_init)(void *); void (*io_deinit)(void *); @@ -111,7 +107,6 @@ typedef struct { typedef struct { wilc_wlan_os_context_t os_context; - wilc_wlan_os_func_t os_func; wilc_wlan_io_func_t io_func; } wilc_wlan_inp_t; |