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

Driver SDIO code allocates memory for a buffer that is never used. It
can be safely removed.

Remove unused buffer, including allocation and freeing of memory.

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