From: Colin Ian King <colin.king@xxxxxxxxxxxxx> The pointer 'data' is assigned but never read; it is redundant and can be removed. Cleans up clang warning: drivers/memstick/host/tifm_ms.c:266:2: warning: Value stored to 'data' is never read Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> --- drivers/memstick/host/tifm_ms.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/memstick/host/tifm_ms.c b/drivers/memstick/host/tifm_ms.c index 7bafa72f8f57..54c0029a529d 100644 --- a/drivers/memstick/host/tifm_ms.c +++ b/drivers/memstick/host/tifm_ms.c @@ -254,7 +254,6 @@ static unsigned int tifm_ms_transfer_data(struct tifm_ms *host) static int tifm_ms_issue_cmd(struct tifm_ms *host) { struct tifm_dev *sock = host->dev; - unsigned char *data; unsigned int data_len, cmd, sys_param; host->cmd_flags = 0; @@ -262,9 +261,6 @@ static int tifm_ms_issue_cmd(struct tifm_ms *host) host->io_pos = 0; host->io_word = 0; host->cmd_flags = 0; - - data = host->req->data; - host->use_dma = !no_dma; if (host->req->long_data) { -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html