OSDN Git Service

staging: ks7010: remove unused spin_lock
authorTobin C. Harding <me@tobin.cc>
Tue, 11 Apr 2017 23:56:50 +0000 (09:56 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Apr 2017 08:22:03 +0000 (10:22 +0200)
commit4f22b8954b13f6a75d57498b49084fc409257c61
tree35d47aff5d7a193857b8f49fcd738d6ce9f3be02
parentd2729c6e94e4d9ff108e2a27d3884fd67c954776
staging: ks7010: remove unused spin_lock

Driver SDIO private data structure description includes a spin_lock
that is never used. This data structure only contains a pointer to the
sdio_func and a pointer to the main device private data. A spin_lock
is not required here.

Remove unused spin_lock.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c
drivers/staging/ks7010/ks7010_sdio.h