]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: wilc1000: removes duplicate del_timer_sync
authorLeo Kim <leo.kim@atmel.com>
Fri, 1 Apr 2016 08:44:14 +0000 (17:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:58:42 +0000 (21:58 -0700)
This patch removes del_timer_sync(&periodic_rssi) which was
already performed this action.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 12f16307a7bb8690219d6915396ac81c5758771a..936c04a28a59d0b121cd171a29ae2a551ac4ffc4 100644 (file)
@@ -3498,7 +3498,6 @@ int wilc_deinit(struct wilc_vif *vif)
        memset(&msg, 0, sizeof(struct host_if_msg));
 
        if (clients_count == 1) {
-               del_timer_sync(&periodic_rssi);
                msg.id = HOST_IF_MSG_EXIT;
                msg.vif = vif;