summaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/grukservices.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-03 16:50:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-21 04:27:59 +0200
commit6c56026bfbe3a4e11f35c612ff400345c8acb5f9 (patch)
tree133eb193d052b0a926615587358fd5fdd83d6058 /drivers/misc/sgi-gru/grukservices.c
parentdrivers/misc/sgi-gru: fix dereference of ERR_PTR (diff)
downloadlinux-6c56026bfbe3a4e11f35c612ff400345c8acb5f9.tar.xz
linux-6c56026bfbe3a4e11f35c612ff400345c8acb5f9.zip
drivers/misc/sgi-gru: remove unused variable
dw was only assigned some value and was never reused. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Acked-by: Dimitri Sivanich <sivanich@sgi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/sgi-gru/grukservices.c')
-rw-r--r--drivers/misc/sgi-gru/grukservices.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/sgi-gru/grukservices.c b/drivers/misc/sgi-gru/grukservices.c
index 7812e34a1112..967b9dd24fe9 100644
--- a/drivers/misc/sgi-gru/grukservices.c
+++ b/drivers/misc/sgi-gru/grukservices.c
@@ -1002,7 +1002,6 @@ static int quicktest1(unsigned long arg)
{
struct gru_message_queue_desc mqd;
void *p, *mq;
- unsigned long *dw;
int i, ret = -EIO;
char mes[GRU_CACHE_LINE_BYTES], *m;
@@ -1012,7 +1011,6 @@ static int quicktest1(unsigned long arg)
return -ENOMEM;
mq = ALIGNUP(p, 1024);
memset(mes, 0xee, sizeof(mes));
- dw = mq;
gru_create_message_queue(&mqd, mq, 8 * GRU_CACHE_LINE_BYTES, 0, 0, 0);
for (i = 0; i < 6; i++) {